1.

State true or false: Any attribute which is present in the having clause without being aggregated must not be present in the group by clause.(a) True(b) FalseThe question was posed to me in examination.I'd like to ask this question from Aggregate Functions topic in portion Introduction to Relational Model and Sql of RDBMS

Answer»

Right choice is (b) False

The best EXPLANATION: Any attribute which is present in the having clause without being AGGREGATED must be present in the group by clause. OTHERWISE, the QUERY is considered to be ERRONEOUS.



Discussion

No Comment Found

Related InterviewSolutions