Return one row per product that has at least one real star rating (a rating between 1 and 5). Include columns name, num_ratings, and avg_rating. num_ratings is the count of real star ratings for the product (the 0 placeholders are not ratings and must not be counted), and avg_rating is the average of those real ratings rounded to 2 decimal places. Products whose only reviews are 0-placeholders must not appear at all. Order rows by name ascending.
The database is already loaded with the schema and seed data. You are given product_ratings.sql (a query that runs but returns the wrong answer). Fix product_ratings.sql so it returns the correct result.