Task: Text to Code
Input (English): SQL: SELECT T1.Name , T1.Position FROM Physician AS T1 JOIN Patient AS T2 ON T1.EmployeeID = T2.PCP WHERE T2.Name = "X"
Feedback: Replace Patient's name and Patienttable with Medication's brand and medication medication table respectively , physician physician had prescribed medication medication .
Output (English): SELECT DISTINCT T1.name ,  T1.position FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician JOIN medication AS T3 ON T3.code = T2.medication WHERE T3.Brand  =  "X"