Skip to main content
All Problems
medium0% acceptance

Customers in Branch Cities

The marketing team wants to find customers who live in the same city as a bank branch. Return the customer's first_name, last_name, city, and the branch name. Sort by city, then 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