Skip to main content
All Problems
medium0% acceptance

Customer Card Details Report

The card services team needs a report linking customers to their cards. Join customers to accounts to cards. Return first_name, last_name, account_type, card_number, card_type, and card status. Only include active cards. Sort by last_name, first_name. Limit to 50.

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