Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: SQL question in sqlplus!
select a, b, c from your_table
where rownum < 4
order by b;
hth,
Ivan Bajon, ocp
Zenith <jackyleo_at_attmysite.com> wrote in message
news:830rsb$jae$1_at_m5.att.net.hk...
> I have learning sqlplus currently in a Oracle 7, sqlplus.
> how can I list out the records in ascending order of one field?
> if it can be done,
> and how can i just selected the first three rows? with the use of a
> function?
> or i can only do this by a very long sql statment?
>
>
Received on Mon Dec 13 1999 - 07:57:43 CST
![]() |
![]() |