A bar chart about the average of maximum price of wines each year, bin the year into the weekday interval


, I want to display in asc by the y axis.
CREATE TABLE grapes (
    ID INTEGER,
    Grape TEXT,
    Color TEXT
)

CREATE TABLE appellations (
    No INTEGER,
    Appelation TEXT,
    County TEXT,
    State TEXT,
    Area TEXT,
    isAVA TEXT
)

CREATE TABLE wine (
    No INTEGER,
    Grape TEXT,
    Winery TEXT,
    Appelation TEXT,
    State TEXT,
    Name TEXT,
    Year INTEGER,
    Price INTEGER,
    Score INTEGER,
    Cases INTEGER,
    Drink TEXT
)
SELECT Year, AVG(MAX(Price)) FROM wine ORDER BY AVG(MAX(Price))
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: A bar chart about the average of maximum price of wines each year, bin the year into the weekday interval


, I want to display in asc by the y axis. ### Input: CREATE TABLE grapes (
    ID INTEGER,
    Grape TEXT,
    Color TEXT
)

CREATE TABLE appellations (
    No INTEGER,
    Appelation TEXT,
    County TEXT,
    State TEXT,
    Area TEXT,
    isAVA TEXT
)

CREATE TABLE wine (
    No INTEGER,
    Grape TEXT,
    Winery TEXT,
    Appelation TEXT,
    State TEXT,
    Name TEXT,
    Year INTEGER,
    Price INTEGER,
    Score INTEGER,
    Cases INTEGER,
    Drink TEXT
) ### Response: SELECT Year, AVG(MAX(Price)) FROM wine ORDER BY AVG(MAX(Price))