The relationship management team needs a combined view of customers and their accounts. Return the customer's first_name, last_name, account_type, and balance for every account. Sort by last_name, then first_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