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)