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
Tell me the average price of rooms.
assistant
SELECT AVG ( basePrice ) FROM Rooms;
human
Report the average room price for each bed type.
assistant
SELECT bedType , AVG ( basePrice ) FROM Rooms GROUP BY bedType ;