Simple JOINs recap
4. Get to know the adaptation table
Various kinds of JOINs
Filtering with LEFT JOIN and RIGHT JOIN
Summary

Instruction

Sometimes, a book is so popular that it gets adapted to another form (like a movie).

Here comes the adaptation table!

Exercise

The adaptation table consists of five columns:

  • book_id – the ID of a given book,
  • type – the type of adaptation (movie, game, play, musical),
  • title – the name of a given adaptation,
  • release_year – the year in which a given adaptation was created,
  • rating – the average rating of a given adaptation.

Select all data from the adaptation table.

Stuck? Here's a hint!

Type:

SELECT
  *
FROM adaptation

Console

Code editor

Result

TableConsole