Finance Data Analyst Path · Mission 8 of 30Easy

Un-posted journal audit

WHERE with boolean-style integer flag

Back to Finance Data Analyst

The Brief

Daniel OkaforControlleraccounting

Before I close the month — pull every un-posted journal entry (`posted = 0`). Return `txn_id`, `txn_date`, `account_id`, `amount`, and `description`. I need to chase each one down with the originator.

You'll practice

WHEREPosted flagAudit trail

Tables & columns available

fact_transactionsfact10 columns
ColumnTypeKey
txn_idINTPK
txn_dateTEXT
account_idINTFK → dim_accounts
cost_center_idINTFK → dim_cost_centers
vendor_idINTFK → dim_vendors
amountREAL
currencyTEXT
descriptionTEXT
postedINT
posted_dateTEXT

Hints (3)

Each hint you reveal reduces the XP you can earn. Try the query first.

Hint 1

The transaction table has a flag that distinguishes posted from un-posted entries. Daniel wants to review everything that hasn't been confirmed to the ledger yet.

Hint 2

Daniel needs: txn_id, txn_date, account_id, amount, and description — enough context to chase each entry with the originator.

Hint 3

No ORDER BY requirement, but `ORDER BY txn_date` makes the review easier.