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: Select one row

Re: Select one row

From: Billy Verreynne <vslabs_at_onwe.co.za>
Date: Wed, 11 Nov 1998 14:53:11 +0200
Message-ID: <72c3bi$ns5$1@hermes.is.co.za>


Sven Heins wrote in message <3649547F.F43715CE_at_solution42.de>...
>
>try ...where rownum = 1...

Which works fine, except when you get to aggregation, where it will only aggregate 1 row instead of returning the 1st row of the aggregation row set.

What about?

SELECT * FROM (the actual select goes here) WHERE rownum = 1

regards,
Billy Received on Wed Nov 11 1998 - 06:53:11 CST

Original text of this message

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