sum and top ten records
165379Jun 22 2003 — edited Jun 23 2003I can get the top ten records with this command.
select amt,rank() over (order by qater desc) as qtr
from table1 where rownum<=10;
Now I want to get the sum(amt) in similar query and it is giving problem. How can I do it?
Thank You.