Find customers who have at least one account of every possible type (checking, savings, investment, credit). 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