MySQL订购列表问题

Hom*_*r_J 2 mysql sql-order-by

我有以下代码:

SELECT    q21coding, COUNT(q21coding) AS Count 
FROM      `tresults_acme` 
WHERE     q21 IS NOT NULL AND q21 <> '' 
GROUP BY  q21coding 
ORDER BY  Count DESC
Run Code Online (Sandbox Code Playgroud)

它带回了以下内容:

q21coding                                  Count 
Difficulty in navigating/finding content     53
Positive comments                            28
Suggestions for improvement                  14
Inappropriate content/use                    13
Improve search facility                       6
Include information about staff and teams     5
Content needs updating                        4
Other                                        30
Run Code Online (Sandbox Code Playgroud)

你会注意到其他是第二个 - 有没有办法确保其他总是在底部而不管计数大小?

谢谢,

荷马

rek*_*o_t 5

ORDER BY IF(q21coding = 'Other', 1, 0) ASC, Count DESC
Run Code Online (Sandbox Code Playgroud)