Operators
There are five operators in SQL
- Arithmetic Operator(+ - * / )
- Logical Operator ( AND , OR , NOT)
- Relational Operator ( < , > , <= , >= )
- Assignment Operator (= , != , < > )
- Concatenation Operator( || ) pipe operator
Special Operators
- IN
- NOT IN
- IS
- NOT IS
- LIKE
- NOT LIKE
- BETWEEN
- NOT BETWEEN
Subquery operators
- ALL
- ANY
- EXISTS
- NOT EXISTS
1.Arithmatical Operator -It is use to perform mathematical operations on numerical data such as addition or subtraction.
- Addition (+)
- Subtraction (-)
- Multiplication (*)
- Division ( / )
1)Addition (+) - The + symbol use to add tow or more number together.
SELECT 8+8;
2) Subtraction (-) - The - symbol use to subtract one number to another number.
SELECT 8-8;
3)Multiplication ( * )- The * symbol use to multiply the two number together.
SELECT 8*8;
4)Division ( / )- The / symbol use to divide one number to another number.
SELECT 8/8;
0 Comments