QuestionQ39

VerifiedRestricting and Sorting Data

Which two statements about the WHERE and HAVING clauses in a SELECT statement are true?

Choose two
Explanation

WHERE filters individual rows before GROUP BY divides the remaining rows into groups. HAVING applies conditions to grouped results and supports aggregate expressions; it can also be used in subquery contexts. Aggregate expressions in a HAVING clause do not have to be included in the SELECT list.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!