1.

SQL applies predicates in the _______ clause after groups have been formed, so aggregate functions may be used.(a) Group by(b) With(c) Where(d) HavingI got this question in an online quiz.My doubt stems from Aggregation of Data topic in section Laying the Foundation of SQL Server

Answer»

Correct answer is (b) With

To EXPLAIN I would say: The with clause PROVIDES a WAY of defining a temporary relation whose definition is available only to the QUERY in which the with clause OCCURS.



Discussion

No Comment Found

Related InterviewSolutions