Task: Text to Code
Input (English): SQL: SELECT MIN_SALARY FROM jobs WHERE MAX_SALARY > 300
Feedback: Find job history's job id which are done more than once with duration more than 300 days
Output (English): SELECT job_id FROM job_history WHERE end_date - start_date  > 300 GROUP BY job_id HAVING COUNT(*) >= 2