On January 21th at 14:15 UTC , progression through exercises will be unavailable for 10 minutes due to a planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introductory Quiz
6. Exercise 5

Instruction

Terrific! Let's move on to the last exercise.

Exercise

For each artist, show their first and last name, the average, minimum and maximum ratings from all their paintings. Only show those artists who have more than 2 paintings.

Name the columns: first_name, last_name, avg_rating, min_rating, max_rating.

Stuck? Here's a hint!

This time you will need to use the HAVING clause. Make sure to put it at the end of your query.

Want to refresh your knowledge of SQL basics? Take a look at the SQL Queries course, Part 4: Aggregation and grouping.