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

Compare the average of maximum price of wines each year, bin the year into the weekday interval.
SELECT Year, AVG(MAX(Price)) FROM wine
SELECT "Year", AVG(MAX("Price")) FROM "wine"