Task: Text to Code
Input (English): Step 1: For each row in instructor table, find the corresponding rows in teaches table.
Step 2: find instructor's ID of the results of step 1 whose year not equals 2010
Output (English): SELECT T1.ID FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID WHERE T2.year ! = 2010