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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select last 5 records entries? 2

Status
Not open for further replies.

brogan

Technical User
Oct 7, 2003
44
GB
Hi, I have an extremely basic MySQL table with 2 fields, "id" and "name". I want to be able to select the last 5 "name"s that have been entered into the database.

Thanks

Mark
 
Thanks, works perfectly fine

Mark
 
Nice one, Rudy. I made the old mistake, when reading brogan's problem, of thinking it couldn't be done without a date field. I'll remember this. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top