CREATE TABLE Reviewer (rID INT, name TEXT)
CREATE TABLE Movie (mID INT, title TEXT, year INT, director TEXT)
CREATE TABLE Rating (rID INT, mID INT, stars INT, ratingDate DATE)

What are the titles of all movies that have between 3 and 5 stars, and count them by a bar chart, and order bars in descending order.
SELECT title, COUNT(title) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars BETWEEN 3 AND 5 GROUP BY title ORDER BY title DESC
SELECT "title", COUNT("title") FROM "Rating" AS "T1" JOIN "Movie" AS "T2" ON "T1"."mID" = "T2"."mID" WHERE "T1"."stars" <= 5 AND "T1"."stars" >= 3 GROUP BY "title" ORDER BY "title" DESC NULLS LAST