Database: inn_1
Question: Count the amount of time the number of people in the room reached the maximum occupancy of the room. The number of people include adults and kids.
SQL: select count(*) from reservations as t1 join rooms as t2 on t1.room  =  t2.roomid where t2.maxoccupancy  =  t1.adults + t1.kids