Retail · Email
Delivering a verified customer count to a CEO ahead of an investor meeting
Independent grading: 95/100(verify, opens in a new tab)
Problem
Chidi Okafor, CEO at Meridian Retail (simulated retailer), was about to walk into an investor meeting and needed the clean, defensible customer count in a format readable on a phone between meetings. The brief required the number itself, one sentence on why it was trustworthy, and one sentence flagging the duplicate records so no one in the room would be caught off guard.
What I did
Filtering on is_duplicate = FALSE against the retail.customers table produces the system-verified unique count rather than a manual deduplication attempt, which made it the right choice for an investor context where the number has to be auditable. The email structure matched the three-part brief exactly: number first, rationale second, caveat third. Putting the figure in the subject line meant Chidi could see 2,131 before opening the message, which mattered given the time pressure. Keeping the language jargon-free meant the email could be forwarded without translation.
Finding
The authoritative unique customer count is 2,131, drawn from the system deduplication flag, with 200 duplicate records present in the raw table that should not be included in any headline figure.
Outcome
Chidi had a single defensible number with a plain-language explanation in time for the investor meeting, and the duplicate caveat ensured no follow-up question about data quality would land as a surprise.
-- Clean customer count for investor - excludes duplicates using system flag SELECT COUNT(*) AS clean_customer_count FROM retail.customers WHERE is_duplicate = FALSE;
The WHERE clause delegates deduplication to the system flag rather than ad hoc logic, making the result reproducible and auditable by any team member who runs the same query.
Next step
It would be worth checking whether the 200 duplicate records share common patterns, such as the same email domain or acquisition source, to understand whether the duplication is a data entry issue or a system import problem.
- Deduplication filtering with boolean flag columns
- Communicating query results to non-technical stakeholders via email
- GROUP BY with COUNT(*) aggregation