Only this week, get the SQL Complete Track of 9 courses in a special prize of $330 $89!
Medical Center database
Non primary-foreign key JOINs
Non-equi JOINs
Non-equi self JOINs


Great! Let's look at two more tables. This time we'll work with apartments and couples.


Select all data from the apartments table.

It has the following columns:

  • id – the ID of a given apartment,
  • location – the name of the city where a given apartment is located,
  • price – the price of a given apartment, and
  • rating – the rating of a given apartment.

Stuck? Here's a hint!


FROM apartments