Return one row per course that has at least one graded attempt. Include columns title, graded_attempts, and pass_rate. graded_attempts is the number of graded attempts for the course, and pass_rate is the share of those graded attempts that passed, expressed as a proportion between 0 and 1 (so 0.75 means 75% passed) and rounded to 2 decimal places. Ignore attempts that are still in progress. Order rows by title ascending.
The database is already loaded with the schema and seed data. You are given course_pass_rates.sql (a query that runs but returns the wrong answer). Fix course_pass_rates.sql so it returns the correct result.