Finance Path · Mission 8 of 25Easy

Un-posted journal cleanup

WHERE with boolean-style integer flag

Back to Finance

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 available

fact_transactions

Hints (3)

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

Hint 1

Single table, single filter: `WHERE posted = 0`.

Hint 2

Select the five columns Daniel listed.

Hint 3

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