Skip to main content
All Problems
medium0% acceptance

Patients Who Saw Multiple Doctors

Care coordination wants to identify patients who have been seen by more than one doctor. Return patient first_name, last_name, and doctor_count (distinct doctors). Only include patients with doctor_count > 1. Order by doctor_count descending.

Schema

🔑idINT
first_nameTEXT
last_nameTEXT
date_of_birthTEXT
genderTEXT
emailTEXT
phoneTEXTNULL
blood_typeTEXT
cityTEXT
stateTEXT
🔗insurance_idINTNULL
created_atTIMESTAMP
postgresql

Run your query to see results

Press Ctrl + Enter to execute