Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Analytics or not
You have the result set from some SQL.
You want to return up to 1000 rows but broken down to the last partition in the set partitioned by a few logical columns (like employee id, ...).
How to do this?
e.g
you have
1
2
2
3
3
3
4
4
4
5
5
5
5
but you want back:
1
2
2
3
3
3
4
4
4
because 5's are the new partition that will not fit in
10 you want to return back.
Now just replace numbers with the many columns.
Regards,
Zoran
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Apr 08 2005 - 12:12:17 CDT