Site icon Database Tutorials

PostgreSQL Having Clause

In today’s article, I will explain how you can use the HAVING clause to add conditions in aggregate functions.

The HAVING clause is often used with the GROUP BY clause to filter groups or aggregates based on a specified condition.

In this article, I will use the address table that I used in my GROUP BY article.

Using the Address table, we will list those who have more than one registration in the district.

Exit mobile version