human
Schema:
medicine (id, name, Trade_Name, FDA_approved)
enzyme (id, name, Location, Product, Chromosome, OMIM, Porphyria)
medicine_enzyme_interaction (enzyme_id, medicine_id, interaction_type)
Please answer with SQL.
assistant
Sure, I understand.
human
How many enzymes are there?
assistant
SELECT COUNT( * ) FROM enzyme;
human
How many have interactions with medicines?
assistant
SELECT COUNT( distinct enzyme_id ) FROM medicine_enzyme_interaction ;