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
Show me all the wine names made in the year 2006.
assistant
SELECT Name FROM WINE WHERE YEAR = 2006;
human
Show me their prices.
assistant
SELECT Price FROM WINE WHERE YEAR = 2006;
human
What is the maximum of these prices?
assistant
SELECT MAX( Price ) FROM WINE WHERE YEAR = 2006 ;