Back Practice ↓

Related Practice & In-Depth Concepts

↑ Read lesson

Task:The product team wants a report on customer satisfaction. Write a query that returns the `product_id`, the total number of reviews for that product (aliased as `review_count`), and the average rating (aliased as `avg_rating`). We only want to see products that have strictly more than 2 reviews. Sort the results so the highest-rated products appear at the top.
SQL Query Editor
No results returned. Press Run Query (or Cmd/Ctrl + Enter) to execute.