SQL Inner-join with 3 tables?

You can do the following (I guessed on table fields,etc) Based on your request for multiple halls you could do it this way. You just join on your Hall table multiple times for each room pref id: