-- Database schema
| Movie : mID [ INT ] primary_key , title [ TEXT ] , year [ INT ] , director [ TEXT ] | Reviewer : rID [ INT ] primary_key , name [ TEXT ] | Rating : rID [ INT ] Rating.rID = Reviewer.rID , mID [ INT ] Rating.mID = Movie.mID , stars [ INT ] , ratingDate [ TEXT ] |
-- -- Find all years that have a movie that received a rating of 4 or 5, and sort them in increasing order of year.

SELECT DISTINCT YEAR FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID  =  T2.mID WHERE T2.stars  >=  4 ORDER BY T1.year;