WHERE clause [programming] A SQL clause that specifies a selection criterion that allows filtering of a query result set.