I'd like to see the last ten rows from our mysql database in ID order. Naively, I'd expect to be able to do something like this:
SELECT * FROM ( SELECT * FROM things ORDER BY id DESC LIMIT 10) ORDER BY id ASC
but that isn't valid syntax. What's the correct way of expressing the query I'm trying to run?