select min sql
snippet in sql

select min sql

user7582


SELECT MIN(column_name)

FROM table_name

WHERE condition; 

max in sql

user8053


SELECT MAX(column_name)

FROM table_name

WHERE condition;