Find accounts belonging to customers whose account was opened before any branch in the customer's city was established. Return customer first_name, last_name, account opened_at, and branch opened_at. Sort by account opened_at.
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