human
Schema:
Rooms (RoomId, roomName, beds, bedType, maxOccupancy, basePrice, decor)
Reservations (Code, Room, CheckIn, CheckOut, Rate, LastName, FirstName, Adults, Kids)
Please answer with SQL.
assistant
Sure, I understand.
human
Sort all the rooms by the maximum occupancy.
assistant
SELECT * FROM Rooms ORDER BY maxOccupancy DESC;
human
Which room has the largest capacity?
assistant
SELECT * FROM Rooms ORDER BY maxOccupancy DESC LIMIT 1 ;