List 360 Checking Customers Who Hold No Open Credit Card

Last updated: November 29, 2026

Quick Overview

Return customers who have an open 360 Checking account but no open Capital One credit card, as a cross-sell target list.

Capital One
Data Manipulation (SQL/Python)
Data Scientist
Capital One
November 29, 2026
Data Scientist
Phone Screen
Data Manipulation (SQL/Python)
Easy

0

0

0 solved


Return customers who have an open 360 Checking account but no open Capital One credit card, as a cross-sell target list.

Capital One runs both a national direct bank and a large card business, so cross-sell lists between deposits and cards are a common analyst task. The interviewer is checking anti-join patterns and, in particular, whether you know the NULL trap in NOT IN.

What the Interviewer Expects
  • Writes an anti-join with NOT EXISTS or LEFT JOIN ... IS NULL
  • Applies the open-status filter on both sides
  • Avoids duplicate customers when someone has two checking accounts
  • Explains why NOT IN can return zero rows when the subquery has NULLs
  • Mentions eligibility exclusions a real campaign would add
Key Topics to Cover
anti-join
NOT EXISTS
NULL handling
cross-sell
How to Approach This
  1. Clarify the schema and expected output format before writing queries.
  2. Use CTEs (WITH clauses) to break complex queries into readable steps.
  3. Consider window functions (ROW_NUMBER, RANK, LAG, LEAD) for ranking and sequential analysis.
  4. Watch for NULLs, duplicates, and edge cases in JOINs and GROUP BY.
  5. For pandas, prefer vectorized operations over row-by-row iteration.
Possible Follow-up Questions
  • What exclusions would compliance or marketing require before using this list?
  • How would you include customers whose card was closed in the last 90 days?
  • How would you rank this list by likely card approval?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice SQL Problems
Sample Answer
Clarify the Data
  • customers(customer_id, ...), deposit_accounts(account_id, customer_id, product, status), card_accounts(account_id, customer_id, status).
  • Product value for checking is '360_checking'; statu...
Approach

Start from open checking accounts, deduplicate to customers, then remove anyone who has any open card with NOT EXISTS. NOT EXISTS is correlated and stops at the first match, and most planners turn it ...


Submit Your Answer
Markdown supported