📌  相关文章
📜  编写一个 SQL 查询来获取编号.每个部门的工人人数按降序排列. - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:53.299000             🧑  作者: Mango

代码示例1
SELECT DEPARTMENT, count(WORKER_ID) No_Of_Workers 
FROM worker 
GROUP BY DEPARTMENT 
ORDER BY No_Of_Workers DESC;