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
Which is the most expensive wine?
assistant
SELECT * FROM WINE ORDER by price desc LIMIT 1;
human
From which year is it?
assistant
SELECT year FROM WINE ORDER by price desc LIMIT 1;
human
What is the appelation of Giana | What is Giana? | Sorry Giana is the name of wine
assistant
SELECT appelation FROM WINE WHERE name = 'Giana';
human
Which wine has a score of 91?
assistant
SELECT * FROM WINE WHERE score = 91 ;