Return one row per customer with the total amount they have been invoiced — the sum of the total column of their invoices, each invoice counted exactly once. Order by customer name ascending.
The database is already loaded with the schema and seed data. You are given broken.sql (a query that runs but returns the wrong answer). Fix broken.sql so it returns the correct result.