What kind of reports will be required for one particular hotel? Write at least one SELECT statement (queries) per report.
SELECT hotel, guestname,price,date
FROM guest, hotel,room
INNER JOIN BOOKING
ON guestNO=BOOKING roomno
First, becuase hotel is a table name, not a fiedl.
Second because date is not the name of a field either
Thris because you only have showed one relatoinship but you’re calling for data from three tables.
I highly suspect that your INNER JOIN is not using the right fields either but if they have the same data type, that will not give you an error.
Seriously, and no offense intended, but do you read your books and the notes that your teacher gives you?