Sunday , April 28 2024

PostgreSQL Group By

In today’s article, we will be learning the GROUP BY command, which allows us to perform operations by grouping columns.

GROUP BY also has functions such as sum() and count().

I will do the examples in this article using the address table in the pagila database.

You can use the link below to download the Pagila database.

We will list how many records are in the same district using the Address table.

Loading

About Faruk Erdem

Leave a Reply

Your email address will not be published. Required fields are marked *

Categories