Operator in SQL
What is an Operator in SQL? An operator is a reserved word or a character used primarily in an SQL statement's WHERE clause to perform operation(s), such as comparisons and arithmetic operations. These Operators are used to specify conditions in an SQL statement and to serve as conjunctions for multiple conditions in a statement. · Arithmetic operators · Comparison operators · Logical operators · Operators used to negate conditions SQL Arithmetic Operators Assume 'variable a' holds 10 and 'variable b' holds 20, then − Operator Description Example + (Addition) Adds values on either side of the operator. a + b will give 30 - (Subtraction) Subtracts right hand operand from left hand oper...