Skip to main content
All Problems
medium0% acceptance

Patients with Multiple Different Diagnoses

Find patients who have been diagnosed with 5 or more distinct conditions. Return their first name, last name, and the count of distinct diagnoses.

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