Unary minus : Arithmetic Operators : Math Numeric Functions MySQL TUTORIALS


MySQL TUTORIALS » Math Numeric Functions » Arithmetic Operators »

 

Unary minus


This operator changes the sign of the argument.

mysql>
mysql> SELECT -2;
+----+
| -|
+----+
| -|
+----+
row in set (0.02 sec)

mysql>



Leave a Comment / Note


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

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Math Numeric Functions
» Arithmetic Operators