|
If it has some sort of sequential id or date associated with the record, you could do this:
SELECT * FROM mytable ORDER BY seq_id DESC LIMIT 10;
Basically, this puts the last entries on top (via sorting in descending order), then limiting the results to 10 via LIMIT.
__________________
http://jasonpowers.net
"There are a thousand hacking at the branches of evil to one who is striking at the root."
|