001Level 1

Chapter 3 · Sorting & Limiting

22. Patients Without Insurance

Easy10 XPHealthcare

The financial counseling team wants to reach out to uninsured patients. List the first name, last name, and city of patients who have no insurance (insurance_id is NULL). Order by last name.

Tables

  • PKidINT
  • first_nameTEXT
  • last_nameTEXT
  • date_of_birthTEXT
  • genderTEXT
  • emailTEXT
  • phoneTEXT
  • blood_typeTEXT
  • cityTEXT
  • stateTEXT
  • FKinsurance_id→ insurance.idINT
  • created_atTIMESTAMP

Need help?

Ask Sol

AI tutor — looks at your current query and nudges you, without spoiling the answer.

Solution

Try the hints first — solving it yourself is what makes it stick.

Peek at the solution?

You can still earn the XP afterwards by submitting a working query — but you'll learn more if you give it one more try.