Task: Text to Code
Input (English): Step 1: For each row in departments table, find the corresponding rows in employees table.
Step 2: find FIRST_NAME, DEPARTMENT_NAME of the results of step 1 whose LAST_NAME equals McEwen
Output (English): SELECT T2.FIRST_NAME , T1.DEPARTMENT_NAME FROM departments AS T1 JOIN employees AS T2 ON T1.DEPARTMENT_ID = T2.DEPARTMENT_ID WHERE T2.LAST_NAME = "McEwen"