WHERE keeps only the rows that match your conditions, before any grouping or totalling happens. A condition compares a field to a value, and you can chain conditions with AND and OR.
Operators
Text values go in single quotes. A list uses parentheses, for example
reason IN ('too small', 'damaged'). You can also compare one field to another, such as available < reorder_point.
Named filters
Some datasets offer named filters that stand in for a common condition. On theinventory dataset, for example, low_stock selects items running low on cover, and needs_reorder selects items the reorder engine recommends buying now. Write the name on its own, and combine it with other conditions using AND.
AND binds tighter than OR. Use parentheses to group conditions when you mix the two. To filter on totals after grouping instead, use HAVING.
