special operators in database
TRANSCRIPT
1
SPECIAL OPERATORS
2
BETWEEN…AND operator
Determines whether the value of an
expression falls within a specified
range of values.
Special Operators
Syntax:
expr [NOT] BETWEEN value1 AND value2
3
IN operator
Determines whether the value of an
expression is equal to any of several
values in a specified list.
Syntax:
expr [NOT] IN (value1, value2, …)
Special Operators
4
IS NULL operator
Checks for missing data or null
values.
Syntax:
expr IS [NOT] NULL
Special Operators
5
LIKE operator
Used in conjunction with wildcard
characters to match character string
patterns.
Syntax:
expr [NOT] LIKE ‘string pattern’
Special Operators
6
Wildcard Characters
% - used to match zero or
more characters.
_ - used to match a single
character.
Special Operators