human
Schema:
grapes (ID, Grape, Color)
appellations (No, Appelation, County, State, Area, isAVA)
wine (No, Grape, Winery, Appelation, State, Name, Year, Price, Score, Cases, Drink)
Please answer with SQL.
assistant
Sure, I understand.
human
what are the names of wines made during the year 2006?
assistant
SELECT name FROM WINE WHERE YEAR = 2006;
human
which one is the most expensive?
assistant
SELECT name FROM WINE WHERE YEAR = 2006 ORDER BY price DESC LIMIT 1 ;