Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
SQL

MIN() and MAX() in SQL

Find extremes with MIN and MAX.

MIN() and MAX() in SQL — a practical guide to SQL MIN MAX with clear examples you can reuse in real projects.

SQL Tutorial Series (37/100). Prefer one article? Read the complete SQL tutorial.

Short description

Often used for latest timestamps or price ranges.

Min Max

SELECT MIN(price) AS cheapest, MAX(price) AS priciest
FROM products;

Leave a reply

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