Javatpoint.com-DBMS SQL Operator - Javatpoint
Javatpoint.com-DBMS SQL Operator - Javatpoint
javatpoint.com/dbms-sql-operator
SQL Operator
There are various types of SQL operator:
- It is used to subtract the right-hand operand from the left- a-b will
hand operand. give 10
1/3
SQL Comparison Operators:
Let's assume 'variable a' and 'variable b'. Here, 'a' contains 20 and 'b' contains 10.
<> It checks if two operands values are equal or not, if values (a<>b) is
are not equal then condition becomes true. true
> It checks if the left operand value is greater than right (a>b) is
operand value, if yes then condition becomes true. not true
< It checks if the left operand value is less than right operand (a<b) is
value, if yes then condition becomes true. true
>= It checks if the left operand value is greater than or equal to (a>=b) is
the right operand value, if yes then condition becomes true. not true
<= It checks if the left operand value is less than or equal to the (a<=b) is
right operand value, if yes then condition becomes true. true
!< It checks if the left operand value is not less than the right (a!=b) is
operand value, if yes then condition becomes true. not true
!> It checks if the left operand value is not greater than the (a!>b) is
right operand value, if yes then condition becomes true. true
Operator Description
BETWEEN It is used to search for values that are within a set of values.
2/3
← prev next →
Latest Courses
3/3