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

Find all years that have a movie that received a rating of 4 or 5, and sort them in increasing order of year, and count them by a bar chart
SELECT year, COUNT(year) FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID WHERE T2.stars >= 4 ORDER BY T1.year
SELECT "year", COUNT("year") FROM "Movie" "T1" JOIN "Rating" "T2" ON "T1"."mID" = "T2"."mID" AND "T2"."stars" >= 4 ORDER BY "T1"."year"