Re: showing top x values in sql*plus

From: http://www.webyourcompany.com <xzhang88_at_hotmail.com>
Date: 26 May 2003 23:09:41 -0700
Message-ID: <2f50b64b.0305262209.6ad57b1_at_posting.google.com>


select column x from (
select columnx from table y order by columnx desc) where rownum<4

will do that

chrissysjunk_at_yahoo.co.uk (Chrissy) wrote in message news:<de060d08.0305261649.71155d69_at_posting.google.com>...
> hi all,
>
> does anyone know how to display the top 3 values of data retrieved
> from a table rather than all the values?
>
> thanks in advance
>
> chrissy
Received on Tue May 27 2003 - 08:09:41 CEST

Original text of this message