MySQL Operators
Submitted by alpha_luna on Wednesday, July 15, 2015 - 13:51.
Good Day!!!
In this tutorial, we are going to learn about the MySQL Operators and this is the continuation of MySQL Tutorials. My last work was all about the MySQL Reserved Words. In this Chapter, we will know all kinds of Operators in MySQL.Operator Precedence
Operators which are shown below, in a line together will they have the same precedence. The precedence in operators, has a rules and you will shown from highest to lowest precedence.
In the the table above, it all determines the order of evaluation of terms in an expression.
Example:
Arithmetic Operators
Arithmetic Operators perform basic arithmetic on two values, which are shown below and this operators supported in MySQL:Comparison Operators
Comparison operators compare values and return 1 if the comparison is true and 0 otherwise. This operators also supported in MySQL.- Between Checks the mentioned limits
Logical Operators
Logical Operators in SQL terms, checks whether its operands are 0, nonzero or NULL. The 0 value means false, nonzero means true and NULL means no value. This kind of operators check the truth value of one or more expressions, which are shown below and this operators supported in MySQL:Add new comment
- 23 views