1.

We apply the aggregate function to a group of sets of tuples using the _______ clause.(a) group by(b) group(c) group set(d) group attributeThis question was addressed to me in a job interview.My question is taken from Aggregate Functions in division Introduction to Relational Model and Sql of RDBMS

Answer»

Correct answer is (a) GROUP by

Explanation: We apply the aggregate function to a group of sets of TUPLES using the group by CLAUSE. The group by clause MUST always be used whenever we are willing to apply the aggregate function to a group of sets of tuples.



Discussion

No Comment Found

Related InterviewSolutions