Question 68Asked in BPSC TRE 1.0 (2023) Computer Science Class 11-12Which of the following is true about the HAVING clause?
- ASimilar to the WHERE clause but is used for columns rather than groups
- BSimilar to WHERE clause but is used for rows rather than columns
- CSimilar to WHERE clause but is used for groups rather than rows
- DMore than one of the above
- ENone of the above
Show answerHide answer
Correct answer: (C) Similar to WHERE clause but is used for groups rather than rows
Explanation
HAVING filters groups made by GROUP BY, while WHERE filters individual rows before they are grouped.