我的查询是
USE MyDB
SELECT DATENAME(DD, s.requestdate)
FROM sample_table s
WHERE MONTH(s.requestdate) = 12
GROUP BY DATENAME(DD, s.requestdate)
ORDER BY DATENAME(DD, s.requestdate) DESC
我期望的输出是按月的顺序按降序排序,但我的输出是有序的
9
8
7....till 1 then 19, 18...till 11
我错过了什么?