Database: inn_1
Question: How many times the number of adults and kids staying in a room reached the maximum capacity of the room?
SQL:
SELECT count(*) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId WHERE T2.maxOccupancy  =  T1.Adults + T1.Kids;