recategorized by
3,093 views
2 votes
2 votes

The STUDENT information in a university stored in the relation STUDENT (Name, SEX, Marks, DEPT_Name). COnsider the following SQL Query:

SELECT DEPT_Name from STUDENT where SEX='M'
group by DEPT_Name having avg(Marks)>SELECT avg(Marks) from STUDENT

It returns the name of the department for which

  1. The average marks of Male students is more than the average marks of students in the department
  2. The average marks of Male students is more than the average marks of students in the university
  3. The average marks of students is more than the average marks of male students in the university
  4. The average marks of Male students is more than the average marks of male students in the university
recategorized by

1 Answer

Best answer
3 votes
3 votes

The average marks of Male students is more than the average marks of students in the university

B is ans

selected by
Answer:

Related questions