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

Home -> Community -> Usenet -> c.d.o.server -> Re: ROWNUM question??

Re: ROWNUM question??

From: Barry <barry_at_reply.to.news.only>
Date: 20 Jan 1999 13:30:31 GMT
Message-ID: <36a5da5d.19802123@news.bit.nl>


Try rownum <= 1 (starts with 0)

On Tue, 19 Jan 1999 20:55:41 +0100, Oscar Paredes <oscar_at_fib.upc.es> wrote:

>
>Hi all!
>
>I want to select the first row of a SELECT statement
>that have a ORDER BY, like:
>
> select e.name
> from employee e
> where rownum=1
> order by e.name
>
>But,... unfortunatelly... this don't work!! :-(
>
>Someone know how to do this????
>
>
>Thanks,
>Oscar
>
Received on Wed Jan 20 1999 - 07:30:31 CST

Original text of this message

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