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 wine has the highest price?
assistant
SELECT * FROM WINE ORDER BY price desc LIMIT 1;
human
Which wine has the highest score?
assistant
SELECT * FROM WINE ORDER BY score desc LIMIT 1;
human
Which wine has the most cases available?
assistant
SELECT * FROM WINE ORDER BY cases desc LIMIT 1;
human
How about winery with the least cases?
assistant
SELECT Winery FROM WINE ORDER BY cases asc LIMIT 1 ;