Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> SQL query
How can I get the following statistics in singles SQL queries:
Table has a sequencing number field (NRO_CORREL) and a date field = (DATE_REF). Example (ORDER BY DATE_REF):
NRO_CORREL DATE_REF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
1 date1 2 date2 3 date3 5 date4 6 date5 4 date6 8 date7 9 date8
I need to find:
Thank you!
Hu=E1scar
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Tue May 18 2004 - 15:13:05 CDT
![]() |
![]() |