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)

Find the name of rooms booked by some customers whose first name contains ROY, and count them by a bar chart, and sort in ascending by the roomName.
SELECT roomName, COUNT(roomName) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId WHERE FirstName LIKE '%ROY%' GROUP BY roomName ORDER BY roomName
SELECT "roomName", COUNT("roomName") FROM "Reservations" AS "T1" JOIN "Rooms" AS "T2" ON "T1"."Room" = "T2"."RoomId" WHERE "FirstName" LIKE '%ROY%' GROUP BY "roomName" ORDER BY "roomName" NULLS FIRST