Sunday , November 17 2024

PostgreSQL Max Function

In today’s article, we will examine the general use and purpose of the PostgreSQL MAX() function.

The PostgreSQL MAX() function retrieves the largest value, indicated by expression in a set of grouped rows.

General Usage;

For example, if we want to find the object with the highest price among the products in our depo table, the following script will help us.

The picture below shows the highest price.

Loading

About Faruk Erdem

Leave a Reply

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