Compound Query Operators
The following table shows compound query operators. In this table, operators appear in uppercase. However, query strings are case-sensitive. The operators do not have to be in uppercase.
When you perform a compound query, you must use parentheses to control the order in which the search for matching records is performed.
Operator  | 
Description  | 
Example  | 
|---|---|---|
AND, and  | 
Placed between values, returns only records for which all the conditions are true.  | 
  | 
OR, or  | 
Placed between values, returns records for which at least one condition is true.  | 
 
  | 
NOT, not  | 
Placed before a value, returns only records that do not contain the value.  | 
 
  | 
() (opening and closing brackets)  | 
Placed before and after the values and operators that are processed first, regardless of the default processing order.  | 
  | 
LIKE, like  | 
Placed before a value, returns records containing the value.  | 
 The LIKE operator is case sensitive. To find matches regardless of case, see Simple Query Operators.  |