Task: Text to Code
Input (English): Step 1: find the rows of jobs table for which MAX_SALARY greater than 40000.
Step 2: find the JOB_TITLE of jobs table for which MAX_SALARY greater than 12000.
Step 3: show the rows that are in both the results of step 1 and the results of step 2
Output (English): SELECT * FROM jobs WHERE MAX_SALARY > 40000 INTERSECT SELECT JOB_TITLE FROM jobs WHERE MAX_SALARY > 12000