Logical operators combine smaller WHERE predicates into one row filter.
highlighted = computed this step
Input table
Start with orders that include status and amount.
Orders
Where query
Keep paid high-amount rows, or rows that need review.
WHERE combined predicates
Filtered output
The combined predicate keeps one paid order and one review order.
combined filter output