| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL Question: Return top 5
>how could I get it to display just the top 5 names.
    select *
    from
    ( select first_name|| ' ' || last_name fullname, count(*)
      from incidents
      GROUP BY first_name|| ' ' || last_name
      ORDER BY 2 DESC
Arjan. Received on Wed Aug 26 1998 - 12:27:20 CDT
![]()  | 
![]()  |