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 the name and year of all wines by Brander winery.
assistant
SELECT name , year FROM WINE WHERE Winery = 'Brander';
human
which one was made the earliest?
assistant
SELECT name , year FROM WINE WHERE Winery = "Brander" ORDER BY year LIMIT 1 ;