This check asks you to mark the TRUE rows before comparing with the recomputed SQL output.
Input table
Start by reading each order row without changing the table.
exercise input
Where query
Apply the two predicates together: status is paid, and amount is above the threshold.
paid AND amount above threshold
Predicate truth
Only rows where both predicates are TRUE pass the combined filter.
by-hand TRUE row check
Filtered output
The recomputed output is the answer key for the exercise.
checked output