Logical Connectors
Overview
The AND and OR keywords are used to connect one logical expression to another. They support infinite nesting of parenthesis and all expressions are calculated using standard mathematical order of operations.
Example
SELECT * FROM WordList:Word
WHERE Text = 'Cat' OR Text = 'Dog'
SELECT * FROM WordList:Word
WHERE Text LIKE 'Cat%' AND (LanguageId = 3 OR LanguageId = 5)
Related
- Keywords - A breakdown of all high-level statements available via the query handler.