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
List all the rooms in the descending order of the base price.
assistant
SELECT * FROM Rooms ORDER BY basePrice DESC;
human
Which room has the highest base price?
assistant
SELECT * FROM Rooms ORDER BY basePrice DESC LIMIT 1 ;
human
Give me the id and name of this room.
assistant
SELECT RoomId , roomName FROM Rooms ORDER BY basePrice DESC LIMIT 1 ;