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)
CREATE TABLE appellations (No NUMBER, Appelation CLOB, County CLOB, State CLOB, Area CLOB, isAVA CLOB)
CREATE TABLE grapes (ID NUMBER, Grape CLOB, Color CLOB)

A bar chart about the average of maximum score of wines each year, bin the year into the weekday interval.
SELECT Year, AVG(MAX(Score)) FROM wine
SELECT "Year", AVG(MAX("Score")) FROM "wine"