AVG() in SQL — a practical guide to SQL AVG with clear examples you can reuse in real projects.
SQL Tutorial Series (36/100). Prefer one article? Read the complete SQL tutorial.
Short description
NULLs are ignored by AVG in standard SQL aggregates.
Avg
SELECT AVG(price) AS avg_price
FROM products;