CREATE TABLE rooms (roomid TEXT, roomname TEXT, beds DECIMAL, bedtype TEXT, maxoccupancy DECIMAL, baseprice DECIMAL, decor TEXT)
CREATE TABLE reservations (code DECIMAL, room TEXT, checkin TEXT, checkout TEXT, rate DECIMAL, lastname TEXT, firstname TEXT, adults DECIMAL, kids DECIMAL)

How many people in total can stay in the modern rooms of this inn?
SELECT SUM(maxoccupancy) FROM rooms WHERE decor = 'modern'
SELECT SUM("maxoccupancy") FROM "rooms" WHERE "decor" = 'modern'