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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Highest values of a table

Re: Highest values of a table

From: Kevin A Lewis <Kevin_A_Lewis_at_Hotmail.com>
Date: 2000/06/15
Message-ID: <Zr125.6$436.1013@newreader.ukcore.bt.net>#1/1

SELECT MAX(column) FROM table;

or

SELECT MIN(column) FROM table;

--
Kevin A Lewis (BOCM PAULS LTD) - Animal Feed Manufacturer - Ipswich United
Kingdom)
                        <Kevin_A_Lewis_at_Hotmail.com>

The views expressed herein by the author of this document
are not necessarily those of BOCM PAULS Ltd.
Mark van Dijk <markvandijk_at_hotmail.com> wrote in message
news:f7niIWj1$GA.357_at_asd24-aux-005.tis.telfort.net...

> Hi,
>
> I hope someone can help me out. I have the following question:
> How can I select the say 20% highest (or lowest) values from a table by
SQL
> or PL/SQL?
>
> Thanks,
>
> Mark
>
>
Received on Thu Jun 15 2000 - 00:00:00 CDT

Original text of this message

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