Operator | Description | Example |
---|---|---|
+ | Performs addition of two numbers | A+B,Example 10+5=15 |
- | Performs subtraction of two numbers | A-B,Example 10-5=5 |
* | Performs multiplication of two numbers | A*B,Example 10*5=50 |
/ | Performs division of two numbers | A/B,Example 10/5=2 |
Operator | Description |
---|---|
BETWEEN | Check whether the given value is in the range between min and max. |
IN | The IN operator tests a collection of membership. |
LIKE | Compares a string, character or CLOB values. |
IS NULL | IS NULL operator gives back the boolean result i.e, if the value is NULL, it returns TRUE or if the value is not NULL, it returns FALSE. |
Operator | Description | Example |
---|---|---|
= | Analyse whether the two values are True or False, if true, then the case will be true. | A=B |
< | Analyse whether the left value is less than the right value, if true, then the case becomes true. | A<B |
> | Analyse whether the left value is greater than the right value, if true, then the case will be true. | A>B |
<= | Analyse whether the left value is less than or equal to the right value, if yes, then the case becomes true. | A<=B |
>= | Analyse whether the left value is greater than or equal to the right value, if true, then the case becomes true. | A>=B |
Operator | Description |
---|---|
AND | It is called as logical AND operator. If two values are true, then the case becomes true. |
OR | It is called as logical OR operator, suppose any one value is true, then the case become true. |
NOT | It is called as logical NOT operator, if a case is true, then the logical NOT operator will make it false. |