Introduction
Challenge with artists

Instruction

The third table in this set is the piece_of_art table. This provides us with information about the artwork of all relevant artists.

Exercise

Select all data from the piece_of_art table.

As you can see it has these four columns:

  • id – the id of a given piece of art,
  • name – the name of a given piece of art,
  • artist_id – the id of the artist who created a given piece of art,
  • museum_id – the id of the museum that houses a given piece of art in its collection.

Console

Code editor

Result

TableConsole