Comparisons and logic
An ordinary comparison with NULL usually returns NULL. WHERE and HAVING retain only TRUE. Use IS NULL to test for missing values:
column = NULL does not find them. In Boolean logic, FALSE AND NULL is FALSE, TRUE OR NULL is TRUE, and TRUE AND NULL is NULL.
Text patterns
LIKE is case-sensitive unless another operation explicitly normalizes the input. Use LOWER or UPPER when a case-normalized match is intended. Regular-expression functions have separate syntax and behavior; see string functions.Arithmetic
+, -, *, /, and remainder forms operate on compatible numeric inputs. Type, overflow, division by zero, and ANSI settings affect behavior. Decimal and floating-point arithmetic have different precision. Native execution rejects expressions for which it cannot preserve the required semantics, including some integer arithmetic and cast paths.