guy i was given a qeustion for my exam that
What is the most commonly booked room type for each hotel in London?
to this i replied
SELECT MAX(R.roomno)AS most room selected
FROM ROOM.R,HOTEL.H,BOOKING.B
GROUP BY roomtype
WHERE H.hotelno=B.hotelno AND city='london'
my problem is that i dont know if the logic is correct or not and mysql server is not working i would be obliged if some one can tell me that my logic is true thank you all