Medical Center database
Non primary-foreign key JOINs
Non-equi JOINs
11. Get to know the item table
Non-equi self JOINs
Summary

Instruction

Okay, we've prepared two additional tables for you: item and buyer.

Let's start with the item table.

Exercise

Select all data from the item table.

As you can see, it has the following columns:

  • id – the ID of a given item,
  • name – the name of a given item,
  • price – the price of a given item, and
  • type – the type of a given item.

Stuck? Here's a hint!

Type:

SELECT
  *
FROM item

Console

Code editor

Result

TableConsole