Question:

SQL applies conditions on the groups through which clause after groups have been formed?

Show Hint

Use the "HAVING" clause to filter results after grouping them with "GROUP BY". "WHERE" applies conditions before grouping.
Updated On: Apr 24, 2025
  • Group by
  • With
  • Where
  • Having
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

In SQL, the "HAVING" clause is used to apply conditions on groups created by the "GROUP BY" clause. The "WHERE" clause is used to apply conditions on individual rows before grouping. Thus, "HAVING" is the correct choice for applying conditions after grouping the data.
Was this answer helpful?
0
0