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

Show me the average of baseprice by bedtype in a histogram, show y axis in descending order.
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