Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to get the first 15 records of an Oracle query ?
Hi,
here are some solutions from Jurij Modic <jmodic_at_src.si> posted just a few days ago:
>hi:
>
>Suppose I have a table contains 10000 employee's names and their salaries.
>Who can come out a query can get the 1000 highest salary employees?
Couple of possible ways to do it...
Albert FEDIDA schrieb:
>
> I wonder if it is possible in SQL Oracle to get the first 15 records
> for a query?
> With MS-Access, it's as simple as :
>
> SELECT TOP 15 FROM TABLE;
>
> Thanks for your help.
>
> Albert
--
Regards
Matthias Gresz :-)
--
Matthias.Gresz_at_Privat.Post.DE
/| / | /| |\ /|| |\ / O |\ | |\ Galopping Horse beats Running Man. / |\ / / |\ / __/| |\ \° / | |\ \/_/ | |\Received on Thu Sep 24 1998 - 00:50:58 CDT