Question: show me the average number of beds of the rooms with reservations.
SQL: SELECT avg ( beds )  FROM rooms WHERE roomid IN  ( SELECT DISTINCT room FROM reservations )