The average customer
Marketing wants one number: how much the average customer spends across all of their invoices. First build each customer's total in a subquery placed in FROM, then take the average of those totals.
Tables in this exercise
invoices
id customer_id invoice_date billing_city billing_country total