SQL Mathematical Functions — a practical guide to SQL math functions with clear examples you can reuse in real projects.
SQL Tutorial Series (43/100). Prefer one article? Read the complete SQL tutorial.
Short description
Prefer DECIMAL for money — avoid float rounding surprises.
Math
SELECT ROUND(price * 1.18, 2) AS price_with_tax
FROM products;