CREATE TABLE medication (code VARCHAR2, name VARCHAR2)
CREATE TABLE physician (name VARCHAR2, employeeid VARCHAR2)
CREATE TABLE prescribes (physician VARCHAR2, medication VARCHAR2)

What is the names of the physicians who prescribe medication Thesisin?
SELECT DISTINCT T1.name FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician JOIN medication AS T3 ON T3.code = T2.medication WHERE T3.name = "Thesisin"
SELECT DISTINCT "T1"."name" FROM "physician" "T1" JOIN "prescribes" "T2" ON "T1"."employeeid" = "T2"."physician" JOIN "medication" "T3" ON "T2"."medication" = "T3"."code" AND "T3"."name" = "Thesisin"