Skip to main content
All Problems
medium0% acceptance

Customers with Both Checking and Savings

The product team wants to identify customers who hold both a checking and a savings account. Return customer_id, first_name, and last_name. Sort by last_name.

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