CREATE TABLE Reservations (Code INT, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate FLOAT, LastName TEXT, FirstName TEXT, Adults INT, Kids INT)
CREATE TABLE Rooms (RoomId TEXT, roomName TEXT, beds INT, bedType TEXT, maxOccupancy INT, basePrice INT, decor TEXT)

What is the average base price of rooms, for each bed type Plot them as bar chart, sort by the total number in desc please.
SELECT bedType, AVG(basePrice) FROM Rooms GROUP BY bedType ORDER BY AVG(basePrice) DESC
SELECT "bedType", AVG("basePrice") FROM "Rooms" GROUP BY "bedType" ORDER BY AVG("basePrice") DESC NULLS LAST