emp 和 dept不知道有啥关联。select avg(工资)from emp,deptwhere 两个表关联select 部门,avg(工资)from emp,deptwhere 两个表关联group by 部门