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;