English

In SQL, the HAVING clause is used to apply filter on groups formed by the GROUP BY clause. - Informatics Practices

Advertisements
Advertisements

Question

In SQL, the HAVING clause is used to apply filter on groups formed by the GROUP BY clause. 

Options

  • True

  • False

MCQ
True or False

Solution

This statement is True.

Explanation:

The HAVING clause in SQL filters the results of groups created with the GROUP BY clause. The HAVING clause filters groups or aggregated results (such as sums, counts, and averages), whereas the WHERE clause filters individual rows.

shaalaa.com
  Is there an error in this question or solution?
2024-2025 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×