Question: What are the ids and names of the medicine that can interact with two or more enzymes?
Schema: create table medicine_enzyme_interaction (medicine_id varchar, PRIMARY KEY (medicine_id)); create table medicine (id varchar, name varchar, PRIMARY KEY (id))
SQL: select t1.id, t1.name from medicine as t1 join medicine_enzyme_interaction as t2 on t2.medicine_id = t1.id group by t1.id having count(*) >= 2