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

Console

Code editor

Result

TableConsole