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 uses Cabernet Franc grapes
assistant
SELECT T2.Name FROM Grapes AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape WHERE T1.Grape = 'Cabernet Franc';
human
What are the wines that have prices higher than 50?
assistant
SELECT * FROM Grapes AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape WHERE T2.price > 50 ;