Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: (classic ?) TOP 50 problem
why do not use this?
SELECT pilotId,avg(flightLength) average
FROM pilots
WHERE rownum <= 1
GROUP BY pilotId
ORDER BY average DESC;
Received on Fri Apr 09 1999 - 05:36:33 CDT
![]() |
![]() |