Compare numeric or date values.
Section: Filtering Rows
Use comparison operators
sql
sql
SELECT *
FROM invoices
WHERE amount > 1000
AND due_date < CURRENT_DATE;Explanation
Combine predicates with AND and OR to express complex filters.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Filtering Rows