Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: (classic ?) TOP 50 problem

Re: (classic ?) TOP 50 problem

From: Joaquin Garcia Santos <jis_at_iberdrolaingenieria.es>
Date: Fri, 9 Apr 1999 12:36:33 +0200
Message-ID: <7ekkpo$kd2$1@talia.mad.ttd.net>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US