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;