Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Tricky SQL question
change the sql statement to:
select distinct (keyword), count(keyword) from keyword k where rownum < 11 group by keyword order by 2 desc;