How to order MySQL records by Unix timestamps in descending order?
How do I order records in a PHP query 开发者_StackOverflowto MySQL by a field that contains TIME()
timestamps in descending order?
Use the ORDER BY
clause like this:
SELECT …
FROM …
ORDER BY timestamp_field DESC
精彩评论