Operators Flashcards
Using the words / phrases below, what is the correct syntax for the Logical Operator “BETWEEN”:
- end_expression
- begin_expression
- AND
- [NOT]
- BETWEEN
- test_expression
Syntax:
test_expression [NOT] BETWEEN begin_expression AND end_expression
Using the words / phrases below, what is the correct syntax for the Logical Operator “ALL”:
- ALL
- {= | <> | != | > | >= | !> | < | <= | !<}
- (subquery)
- scalar_expression
Syntax:
scalar_expression {= | <> | != | > | >= | !> | < | <= | !<} ALL (subquery)
Using the words / phrases below, what is the correct syntax for the Logical Operator “AND”:
- AND
- boolean_expression
- boolean_expression
Syntax:
boolean_expression AND boolean_expression
Using the words / phrases below, what is the correct syntax for the Logical Operator “SOME / ANY”:
- scalar_expression
- {= | <> | != | > | >= | !> | < | <= | !<}
- (subquery)
- {SOME | ANY}
Syntax:
scalar_expression {= | <> | != | > | >= | !> | < | <= | !<} {SOME | ANY} (subquery)
Using the words / phrases below, what is the correct syntax for the Logical Operator “EXISTS”:
- (subquery)
- EXISTS
Syntax:
EXISTS (subquery)
Using the words / phrases below, what is the correct syntax for the Logical Operator “IN”:
- IN
- (subquery | expression)
- test_expression
- [NOT]
Syntax:
test_expression [NOT] IN (subquery | expression)
Using the words / phrases below, what is the correct syntax for the Logical Operator “LIKE”:
- [NOT]
- pattern
- LIKE
- match_expression
- [ESCAPE escape_character]
Syntax:
match_expression [NOT] LIKE pattern [ESCAPE escape_character]
Using the words / phrases below, what is the correct syntax for the Logical Operator “NOT”:
- [NOT]
- boolean_expression
Syntax:
[NOT] boolean_expression
Using the words / phrases below, what is the correct syntax for the Logical Operator “OR”:
- OR
- boolean_expression
- boolean_expression
Syntax:
boolean_expression OR boolean_expression
Using the words / phrases below, what is the correct syntax for the Arithmetic Operator “+” (Add):
- +
- expression
- expression
Syntax:
expression + expression
Using the words / phrases below, what is the correct syntax for the Arithmetic / Compound Operator “+=” (Add Equals):
- expression
- expression
- +=
Syntax:
expression += expression
Using the words / phrases below, what is the correct syntax for the Arithmetic Operator “-“ (Subtract):
- -
- expression
- expression
Syntax:
expression - expression
Using the words / phrases below, what is the correct syntax for the Arithmetic / Compound Operator “-=” (Subtract Equals):
- -=
- expression
- expression
Syntax:
expression -= expression
Using the words / phrases below, what is the correct syntax for the Arithmetic Operator “*” (Multiply):
- *
- expression
- expression
Syntax:
expression * expression
Using the words / phrases below, what is the correct syntax for the Arithmetic / Compound Operator “*=” (Multiply Equals):
- expression
- *=
- expression
Syntax:
expression *= expression
Using the words / phrases below, what is the correct syntax for the Arithmetic Operator “/” (Divide):
- expression
- expression
- /
Syntax:
expression / expression
Using the words / phrases below, what is the correct syntax for the Arithmetic / Compound Operator “/=” (Divide Equals):
- expression
- /=
- expression
Syntax:
expression /= expression