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
How many rooms are there?
assistant
SELECT COUNT( * ) FROM Rooms;
human
What are their prices?
assistant
SELECT baseprice FROM Rooms;
human
What is the id of the room with a base price of 250?
assistant
SELECT roomid FROM Rooms WHERE baseprice = 250 ;