In the previous chapter the coffee chain spread over several tables. The employees table does not store a shop's address for each employee, only its number: Pavel's shop_id is 1. The shop's name lives in another table, shops. To find out where Pavel works, you have to look at two tables and match the numbers by eye.
In this lesson
- Joining by a key
- Who was left without a pair
- Common mistake
- Key points