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
Find all the modern rooms.
assistant
SELECT * FROM Rooms WHERE decor = 'modern';
human
Of those, which have a base price lower than $160 and two beds? Return the room names.
assistant
SELECT roomName FROM Rooms WHERE basePrice < 160 AND beds = 2 AND decor = "modern" ;