Get to know the data
JOIN revisited
LEFT JOIN
12. LEFT JOIN again
RIGHT JOIN
FULL JOIN
OUTER JOINS
Aliases for tables

Instruction

Well done! Let's practice some more.

Exercise

Select all pieces of equipment together with the rooms they are assigned to. Show each piece of equipment even if it isn't assigned to a room.

Stuck? Here's a hint!

Type:

SELECT
  *
FROM Equipment
LEFT JOIN Room
  ON Equipment.RoomID = Room.ID;