0 0 votes The employee information in a company is stored in the relationEmployee (name, sex, salary, deptName)Consider the following $\text{SQL}$ querySelect deptName From Employee Where sex = ‘M’ Group by deptName Having avg(salary) > (select avg (salary) from Employee) It returns the names of the department in whichthe average salary is more than the average salary in the companythe average salary of male employees is more than the average salary of all male employees in the companythe average salary of male employees is more than the average salary of employees in same the departmentthe average salary of male employees is more than the average salary in the company Databases nielit2022apr-scientistb sql databases query aggregate-functions + – soujanyareddy13 752 views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply Anjana5051 commented Apr 13, 2022 reply Follow flag https://gateoverflow.in/58261/Ugcnet-june2013-iii-8 1 1 replyShare Sandip_Pal commented Sep 9, 2025 reply Follow flag i think option d 0 0 replyShare Please log in or register to add a comment.