Possible Duplicate:
Oracle SQL – How to Retrieve highest 5 values of a column
i have a table abc, where i have following columns
act_id,cust_id,lastUpdatedDate,custActivity. Where act_id is primary key .
lastUpdatedDate store last activity done for this customer.
i am trying to get latest 10 rows for given custid based on lastUpdatedDate.
How can i achieve it.
-vivek
You can use ROWNUM in Oracle.. Click Here for Documentation