Summer Deals - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Exercises with artists, museums and their pieces of art
Exercises with the band members table
Exercises with employees, salaries and benefits

Instruction

Keep going!

Exercise

Show the names of artists together with the number of years they lived (name the column years_lived) and the number of pieces they created (name the column number_of_created). Only show artists who created at least one piece of art.

Stuck? Here's a hint!

You will have to use a regular JOIN and aggregate functions.