CREATE TABLE appellations (No NUMBER, Appelation CLOB, County CLOB, State CLOB, Area CLOB, isAVA CLOB)
CREATE TABLE grapes (ID NUMBER, Grape CLOB, Color CLOB)
CREATE TABLE wine (No NUMBER, Grape CLOB, Winery CLOB, Appelation CLOB, State CLOB, Name CLOB, Year NUMBER, Price NUMBER, Score NUMBER, Cases NUMBER, Drink CLOB)

Compare the average of maximum score of wines each year, bin the year into the weekday interval, and sort by the total number in asc.
SELECT Year, AVG(MAX(Score)) FROM wine ORDER BY AVG(MAX(Score))
SELECT "Year", AVG(MAX("Score")) FROM "wine" ORDER BY AVG(MAX("Score"))