Skip to main content
All Problems
medium0% acceptance

Transaction Details with Customer Info

The compliance team needs a report linking transactions to customers. For each transaction, return the customer's first_name, last_name, the account_type, transaction_date, type, and amount. Show only transactions from 2024. Sort by transaction_date descending.

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