1.

Which of the following is not a built in aggregate function in SQL?(a) avg(b) max(c) total(d) countThis question was addressed to me in unit test.This is a very interesting question from Aggregate Functions topic in portion Introduction to Relational Model and Sql of RDBMS

Answer»

The correct choice is (c) total

For explanation I would say: SQL does not INCLUDE total as a BUILT in aggregate function. The AVG is used to find average, MAX is used to find the maximum and the count is used to count the NUMBER of values.



Discussion

No Comment Found

Related InterviewSolutions