Task: Text to Code
Input (English): Step 1: find the number of rows of each value of MIN_SALARY in jobs table.
Step 2: find JOB_ID in jobs table whose corresponding value in step 1 is greater than or equals 2.
Step 3: find the number of rows of each value of JOB_ID in jobs table.
Step 4: find JOB_TITLE in jobs table whose corresponding value in step 3 is greater than 300.
Step 5: show the rows that are in any of the results of step 2 or the results of step 4
Output (English): SELECT JOB_ID FROM jobs GROUP BY MIN_SALARY HAVING Count ( * ) > = 2 UNION SELECT JOB_TITLE FROM jobs GROUP BY JOB_ID HAVING Count ( * ) > 300