Task: Text to Code
Input (English): Step 1: find the rows of Prescribes table for which Prescribes's Physician equals John Wen.
Step 2: For each row in Undergoes table, find corresponding rows in Procedures table and in Nurse table.
Step 3: find Nurse's Name of the results of step 2 whose Cost greater than 1000.
Step 4: show the rows that are in the results of step 1 but not in the results of step 3
Output (English): SELECT * FROM Prescribes AS T1 WHERE T1.Physician = "John Wen" EXCEPT SELECT T3.Name FROM Procedures AS T2 JOIN Nurse AS T3 JOIN Undergoes AS T4 ON T2.Code = T4.Procedures AND T4.AssistingNurse = T3.EmployeeID WHERE T2.Cost > 1000