Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Simple JOINs recap
3. Get to know the Book table
Various kinds of JOINs
Filtering with LEFT JOIN and RIGHT JOIN
Summary

Instruction

The Author table wouldn't do us any good without a table to store the names of books they wrote. Take a glance at the Book table.

Exercise

The Book table consists of six columns:

  • Id – the ID of a given book,
  • AuthorId – the ID of the author who wrote a given book,
  • Title – the title of a given book,
  • PublishYear – the year in which a given book was published,
  • PublishingHouse – the name of the publishing house that printed a given book,
  • Rating – the average rating of a given book.

Select all data from the Book table.

Stuck? Here's a hint!

Type:

SELECT
  *
FROM Book