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 -> selecting 5 most recent records (oracle/sql newbie)

selecting 5 most recent records (oracle/sql newbie)

From: mr_oatmeal <mr_oatmeal_at_hotmail.com>
Date: Thu, 14 Sep 2000 00:28:45 GMT
Message-ID: <ss06tt5fct646@corp.supernews.com>

Hello,

I'm trying to figure out how to select the 5 most recent records (based on input_date) from a table...does anyone have a general idea how to do this. So if 10 records were input today, i would want to return only the most recent 5.

ex_table

record_id
input_date

Thanks

--
Posted via CNET Help.com
http://www.help.com/
Received on Wed Sep 13 2000 - 19:28:45 CDT

Original text of this message

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