how to get the count of each minutes
Oracle 10 DB
Hi All
I using this query to get the count of records fetched by the concurrent program per min,
select count (distinct b.attribute2)
from oe_order_headers_all a,oe_order_lines_all b
where a.header_id=b.header_id
and b.flow_status_code ='AWAIT_QUINTIQ_BOOK'
and to_Char(b.last_update_date,'DD-MON-YYYY HH24:MI:SS') between '19-JAN-2011 02:00:01' AND
'19-JAN-2011 02:00:02'
This is used to get the count of records fetched at one mins
How to find the count of last 10 mins ie 1 mins count 2.00 to 2.10
Thanks & Regards
Srikkanth.M