about 9 years ago
BETWEEN Operator:
It is used to fetch values which lies within a range given in BETWEEN operator.
Syntax:
Example:
The above query will fetch those employee details whose salary are between 10000 and 20000.
NOT BETWEEN Operator:
It is used to fetch values which do not lies within a range given in NOT BETWEEN operator, all other tuple which are not in the range of NOT BETWEEN operator will get fetched .
Syntax:
Example:
The above query will fetch those student records whose grade are not between B and D.
0 Comment(s)