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.
如何首先按(row1 DESC 和 row2 DESC)然后(row3 DESC,row2 DESC)对 mysql 查询进行排序
像这样的东西
SELECT * FROM table ORDER BY (`row1` DESC, `row2` DESC), (`row3` DESC, `row2` DESC)