我有这样的查询
SELECT [Year], Month, AVG(salary) AS [salary] FROM table1
GROUP BY [Year],[Month]
ORDER BY Year,Month
但是月份被填充为一月,二月,......等。当我说order by month
我将通过字母订购它们时。我在想是否有任何范围,比如将 jan 设为 1,将 feb 设为 2 等等,然后对数字进行排序
我有这样的查询
SELECT [Year], Month, AVG(salary) AS [salary] FROM table1
GROUP BY [Year],[Month]
ORDER BY Year,Month
但是月份被填充为一月,二月,......等。当我说order by month
我将通过字母订购它们时。我在想是否有任何范围,比如将 jan 设为 1,将 feb 设为 2 等等,然后对数字进行排序