What are the job ids for jobs done more than once for a period of more than 300 days?
SELECT job_id FROM job_history WHERE end_date - start_date  > 300 GROUP BY job_id HAVING COUNT(*) >= 2
SELECT job_id FROM job_history WHERE end_date - start_date  > 300 GROUP BY job_id HAVING COUNT(*) >= 2
[{'Nenhum': 'Nenhum resultado encontrado'}]