TASK #218 · Medium · BBVACustomers With No Activity in June
Your brief
A customer is active in June 2025 if, during that month, any of their accounts made
a card payment (card_payments) or an outgoing transfer
(transfers.from_account_id). Received transfers do not count.
Write a query that returns customer_id and full_name of every customer who was not active in June 2025, including customers without accounts.
Write a query that returns customer_id and full_name of every customer who was not active in June 2025, including customers without accounts.
Ctrl / ⌘ + ↵
Result
Write a query and run it to see the results.
Schema
customerscustomer_id, full_name, city, joined_dateaccountsaccount_id, customer_id, product, opened_date, start_balancecard_paymentspayment_id, account_id, paid_at, merchant, category, amounttransferstransfer_id, from_account_id, to_account_id, transfer_at, amount, concept