The average invoice

The accountant wants one tidy number: the average invoice total, rounded to 2 decimals. AVG(total) returns a long decimal — wrap it in ROUND(x, 2).

Tables in this exercise
invoices
id customer_id invoice_date billing_city billing_country total

Back to the chapter