SELECT attending_doctor_id FROM admissions GROUP BY attending_doctor_id HAVING COUNT(*) > 1;
Write your query and click "Run Query" (Ctrl + Enter) to see results and testcase validation.