Task: Text to Code
Input (English): Step 1: For each row in jobs table, find the corresponding rows in employees table.
Step 2: find EMPLOYEE_ID, FIRST_NAME, LAST_NAME of the results of step 1 whose JOB_TITLE equals President.
Step 3: find EMPLOYEE_ID, FIRST_NAME, LAST_NAME of the results of step 1 whose JOB_TITLE equals PU_MAN.
Step 4: show the rows that are in any of the results of step 2 or the results of step 3
Output (English): SELECT T2.EMPLOYEE_ID , T2.FIRST_NAME , T2.LAST_NAME FROM jobs AS T1 JOIN employees AS T2 ON T1.JOB_ID = T2.JOB_ID WHERE T1.JOB_TITLE = "President" UNION SELECT T2.EMPLOYEE_ID , T2.FIRST_NAME , T2.LAST_NAME FROM jobs AS T1 JOIN employees AS T2 ON T1.JOB_ID = T2.JOB_ID WHERE T1.JOB_TITLE = "PU_MAN"