Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
Healthy Shop database
2. Get to know the department table
MULTIPLE JOINs – Exercises

Instruction

Okay, first, we'll introduce three core tables of our Healthy Shop database.

Let's check the first one!

Exercise

The department table consists of two columns:

  • id – the ID of a given department, and
  • name – the name of a given department, where a particular type of product is sold.

Select all data from the department table and check out the departments of the shop.

Stuck? Here's a hint!

Type:

SELECT
  *
FROM department