StackOverflow 文档 MySQL 教程 GROUP BY GROUP BY 使用 COUNT 函数 GROUP BY 使用 COUNT 函数 Created: November-22, 2018 SELECT department, COUNT(*) AS "Man_Power" FROM employees GROUP BY department; GROUP BY 使用 SUM 函数