QuestionQ53

VerifiedRestricting and Sorting Data

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

Choose two
Explanation

WHERE removes individual rows before any grouping occurs. HAVING restricts the resulting groups and can use aggregate functions, including in a subquery. Aggregate expressions used solely to filter groups do not have to be included in the select list, and WHERE and HAVING can operate on the same column.

Learn more

Community Discussion

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