用SQL语言实现以下功能。以部门作为统计单位,统计出各部门的员工人数、最高工资和最低工资;

2025-03-04 13:32:00
推荐回答(1个)
回答1:

select deptment ,count(workerNum),max(money),min(money) from table
group by deptment