Question: which one of these rooms has reservations?
SQL: SELECT * FROM rooms WHERE roomid IN  ( SELECT DISTINCT room FROM reservations )