It's Autumn! Prices fall like leaves! - hours only!Up to 80% off on all courses and bundles.-Close
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