Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: SQL selecting records
SELECT *
FROM table_name
WHERE column = criteria
AND rownum < 6;
should return first five rows
Cheers
Allan
"Alan" <alwong_at_123infosys.com> wrote in message
news:lNYh6.1859$Vp.200052_at_newsread2.prod.itd.earthlink.net...
> I am trying to only get the first 5 records out of tables that met certain
> criteria. Can I get these 5 records without getting all the records that
> met certain criteria? Thanks.
>
>
>
Received on Mon Feb 12 2001 - 16:23:33 CST
![]() |
![]() |