Microsoft
Software
Hardware
Network
Question : Sql Query
Have to write a query that will display month wise data and perform calculation on each month and show me the result for each of them like january,feb,march,april ,may and june.Please help me here.
select sess.EXCHANGE,
sess.REGION,
'('||trim(sd.DATA_CENTER)|
|')',
max(li.latency_micro_sec) AS max_latency ,
min(li.latency_micro_sec) AS min_latency,
round(avg(li.latency_micro
_sec),2) AS avg_latency,
round(median(li.latency_mi
cro_sec),2
) AS med_latency,
round(stddev(li.latency_mi
cro_sec),2
) AS stddev_latency
from latency_info li,
threshold_lookup tl,
xl_sessions sess,
server_master sm,
server_details sd, owner o
where li.trade_date BETWEEN add_months(TRUNC(SYSDATE),
-1) AND SYSDATE
and tl.instance = li.INSTANCE
and sess.INSTANCE = li.INSTANCE
and o.OWNER_ID = sm.OWNER_ID
and sm.OWNER_ID = sd.OWNER_ID(+)
and sm.SERVER_NAME = sd.SERVER_NAME(+)
and sm.SERVER_NAME = li.HOSTNAME
and li.LATENCY_MICRO_SEC < 100000
and o.OWNER_TYPE = 'T'
group by sess.EXCHANGE,sess.REGION,
trim(sd.DA
TA_CENTER)
Answer : Sql Query
I have found that when adding users in SharePoint you need to spell their name exactly or it will not resolve. Also you should be able to click on the smei-completed name and it should resolve the user for you.
Random Solutions
Starting letters with XXX
ID3 algorithm implementation in JAVA or c++
How do I convert a numeric entry to a text value (numbers to words)
Windows 2008R2 static ports for ntds/rpc/ntfrs
Win 7 Pro Virtual Pc XP Mode visible in the network but not accessible
what is the best linux distro and ide for web programming (PHP) ?
AIX DB2 error
Run same stored procedure iterating thru parameters
Intel Remote Monitoring Module
SSIS/TSQL Three Part Naming for Temp Table