Топ-100
 
CerebroSQL

- UNARY

Database: MySQL
Topic

Syntax:
-

Unary minus. This operator changes the sign of the operand.

URL: https://dev.mysql.com/doc/refman/8.0/en/arithmetic-functions.html

Example

mysql> SELECT - 2;
-> -2