Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Mysql 的新手,有人可以帮我吗?
我需要获取 Mysql 记录 ORDER BY User_ID DESC 和 ORDER BY Created_date ASC
是否可以?
ORDER BY接受逗号分隔的列列表。所以,简单地说ORDER BY User_ID DESC, Created_date ASC
ORDER BY
ORDER BY User_ID DESC, Created_date ASC
是的,您可以像这样运行查询SELECT ------ ORDER BY User_ID DESC, CREATED DATE ASC
SELECT ------ ORDER BY User_ID DESC, CREATED DATE ASC