Skip to main content
All Problems
medium0% acceptance

Customers with Defaulted Loans

The risk management team needs a list of customers who have at least one defaulted loan. Return the customer's id, first_name, last_name, and email. Use a subquery with EXISTS.

Schema

🔑idINT
first_nameTEXT
last_nameTEXT
emailTEXT
phoneTEXTNULL
date_of_birthTEXT
cityTEXT
stateTEXT
countryTEXT
created_atTIMESTAMP
postgresql

Run your query to see results

Press Ctrl + Enter to execute