1.

Usage of aggregates in WHERE clause is allowed.(a) True(b) FalseI had been asked this question in examination.This intriguing question originated from Performing Multiple topic in division Using SQL to Manage Data of MySQL

Answer»

Right option is (b) False

The best explanation: The USAGE of aggregates inside ‘WHERE’ clauses is not allowed. For example, the following statement will not work : ‘SELECT * FROM my_table WHERE attribute_name = MAX(attribute_name)’, because the MAX VALUE is not known YET.



Discussion

No Comment Found

Related InterviewSolutions