Question: What is the color of the grape whose wine products has the highest average price?
Schema: create table grapes (color varchar, grape varchar, PRIMARY KEY (color)); create table wine (grape varchar, PRIMARY KEY (grape))
SQL: select t1.color from grapes as t1 join wine as t2 on t1.grape = t2.grape group by t2.grape order by avg(price) desc limit 1