Question

What is the purpose of the "HAVING" clause in an SQL query?

A It filters the result set based on a condition. Correct Answer Incorrect Answer
B It groups the rows based on specified columns. Correct Answer Incorrect Answer
C It sorts the result set based on specified columns. Correct Answer Incorrect Answer
D It applies a condition to aggregated data. Correct Answer Incorrect Answer

Solution

It applies a condition to aggregated data.

Practice Next

Relevant for Exams:

×
×