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

Simple question? LIMIT and ORDER

Status
Not open for further replies.

elstudion

Programmer
Dec 7, 2002
2
SE
Hi!

First post here...
I need to get the latest added records from a MySQL DB and LIMIT the result to the _latest_ 10. And then I need to ORDER them by a field called 'rubrik'. I have a fild called 'date' that stores the date when the record was created. How do I do this?

.bobo - elstudion.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top