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!
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