Return one row per customer with their name and the true total amount spent across all of their orders. Every customer who has placed at least one order should appear exactly once, with the correct summed amount. Order the result by customer name.
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.