Match rows using equality conditions.
Section: basic selects
Filter rows with WHERE
sql
sql
SELECT id, email FROM users WHERE is_active = 1;Explanation
`WHERE` narrows the result set before ordering and limiting.
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 basic selects