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

What are the titles of all movies that have rating star is between 3 and 5, and count them by a bar chart
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
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"