Problem
Reconcile discrepant financial data
You are given two related financial datasets that should align, but they contain discrepancies. Explain how you would use PostgreSQL SQL to reconcile them, identify the root causes of differences, and produce an output that a finance reviewer could use to investigate exceptions.
What This Tests
- Matching records across datasets with joins
- Standardizing fields before comparison
- Aggregating to the correct reconciliation grain
- Classifying discrepancies with
CASE WHEN - Structuring logic clearly with CTEs
Finance Context
Think of comparing ERP transactions, subledger activity, and BlackLine-supported reconciliation outputs. The goal is not only to find differences, but to separate missing records, duplicates, timing issues, and amount mismatches in a way that is auditable.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.



