Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: johnpp
  • Content: Threads
  • Order by date
  1. johnpp

    Getting the last X amount of records from a table

    Hi , I want to get, say the last 3 records from a table according to an ascending ID (where ID is a integer) eg in oracle i could do , say, select * from X order by ID and rownum < 4 ; this would get me the 3 most recent records (assuming ID+1 is always added as the new ID) Is there...

Part and Inventory Search

Back
Top