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
What are the bed type of room id RND?
assistant
SELECT bedType FROM Rooms WHERE roomid = 'RND';
human
What type of decor in room name Abscond or bolster?
assistant
SELECT decor FROM Rooms WHERE roomname = 'Abscond OR bolster';
human
Find the max occupancy of bed type Queen? | Here are the max occupancies of rooms with bed type Queen. | Find the average and minimum price of the rooms in different decor.
assistant
SELECT decor , AVG ( basePrice ) , MIN( basePrice ) FROM Rooms GROUP BY decor ;