Question: List the names of all distinct wines that are made of red color grape.
Schema: create table grapes (grape varchar, color varchar, PRIMARY KEY (grape)); create table wine (name varchar, grape varchar, PRIMARY KEY (name))
SQL: select distinct t2.name from grapes as t1 join wine as t2 on t1.grape = t2.grape where t1.color = "red"