I am trying to filter my results to only show a person's name who is staying at a hotel in a specific city. What I have so far is
select guestName
from Guest
join Hotels on hotelNo=1
However, when I do this, the result page lists every guest name in the database, rather than the ones that are staying in hotelNo
1.