SELECT 仓库号,COUNT(*),AVG(工资) FROM 职工表; HAVING COUNT(*)>=2 SELECT 仓库号,COUNT(*),AVG(工资) FROM 职工表; GROUP BY 仓库号 HAVING COUNT(*)>=2 SELECT 仓库号,COUNT(*),AVG(工资) FROM 职工表; GROUP BY 仓库号 SET COUNT(*)>=2 SELECT 仓库号,COUNT(*),AVG(工资) FROM 职工表; GROUP BY 仓库号 WHERE COUNT(*)>=2