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 IS ROOM ID OF MODERN DECOR?
assistant
SELECT roomId FROM Rooms WHERE decor = 'modern';
human
OK .HOW MANY ROOMS IN KING BED TYPE?
assistant
SELECT COUNT( * ) FROM Rooms WHERE bedtype = 'King';
human
WHAT IS ROOM NAME of rooms that have a king bed.?
assistant
SELECT roomName FROM Rooms WHERE bedtype = "King" ;