To override this order and group terms explicitly, use parentheses. : Operator : Introduction MySQL TUTORIALS


MySQL TUTORIALS » Introduction » Operator »

 

To override this order and group terms explicitly, use parentheses.


mysql>
mysql> SELECT 1+2*3;
+-------+
1+2*|
+-------+
|     |
+-------+
row in set (0.00 sec)

mysql>
mysql> SELECT (1+2)*3;
+---------+
(1+2)*|
+---------+
|       |
+---------+
row in set (0.00 sec)

mysql>
mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Introduction
» Operator