CREATE TABLE Reviewer (rID NUMBER, name CLOB)
CREATE TABLE Movie (mID NUMBER, title CLOB, year NUMBER, director CLOB)
CREATE TABLE Rating (rID NUMBER, mID NUMBER, stars NUMBER, 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" "T1" JOIN "Movie" "T2" ON "T1"."mID" = "T2"."mID" WHERE "T1"."stars" <= 5 AND "T1"."stars" >= 3 GROUP BY "title" ORDER BY "title" DESC