IT lexicon › Database › WHERE clause

WHERE clause

Database På svenska → Updated: 2026-11-10

The part of a SQL query that filters which rows are returned.

WHERE lets you limit results through comparisons and logical operators (=, <, >, AND, OR). Without WHERE, you'd have to fetch all data from a table and filter in your application — wholly impractical. It's one of the most essential building blocks for making databases usable in the real world.

← Back to the lexicon