Interview Guides
You are given daily position data and posted ledger balances for investment accounts. Write a PostgreSQL query that returns each account and business date where the balances do not tie out, along with the position balance, ledger balance, and the variance between them. Only include dates in January 2024.