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

Instruction

We have artists, we have museums... something is missing. That's right! The pieces of art themselves!

Exercise

Select all data from the PieceOfArt table.

As you can see it has four columns:

  • Id – the id of a given piece of art,
  • Name – the name of a given piece of art,
  • ArtistId – the id of the artist who created a given piece of art,
  • MuseumId – the id of the museum that has a given piece of art in its collection.