BLOG

SQL MIN() and MAX() Functions

07-12-2018  0 Comment(s)

The MIN() function returns the smallest value of the selected column.

The MAX() function returns the largest value of the selected column.

SELECT MIN(column_name)
FROM table_name
WHERE condition;

 

SELECT MAX(column_name)
FROM table_name
WHERE condition;

Comment Here

Comments

No Comments to Show

WE ALWAYS WORK WITH :