This works fine and gives me the most recent results back:
SELECT * FROM table ORDER BY date ASC;
But when I put a limit on it to reduce the results to just 10 of the most recent, it doesn’t give me the most recent results:
SELECT * FROM table ORDER BY date ASC LIMIT 30;
How else can I do this?
try
the
DESCclause asks for records with the most recent date first. Assuming your date field is a DATETIME-style field, this should work.