1. 程式人生 > >查詢比本部門平均工資高的員工資訊

查詢比本部門平均工資高的員工資訊

select e.id, e.name, e.salary
  from employee e
 where salary > (select avg(salary) from employee a where a.employee.id = 105)