top of page
CerebroSQL
Log In
Search
Home
Menu
Close
HOME
DOCUMENTATION
SQL Tutorial for Oracle
SQL Tutorial for MySQL
SQL Tutorial for PostgreSQL
Oracle session event
Oracle A-D System Views
Oracle E-P System Views
SQL QUERY EDITOR
FOR RDBMS ORACLE
FOR RDBMS PostgreSQL
FOR RDBMS MySQL
FOR RDBMS MSSQL Server
FOR DATABASE SQLite
DOWNLOAD
ARTICLES
FORUM
Back
MySQL:
- UNARY
Syntax:
-
Unary minus. This operator changes the sign of the operand.
Example
mysql> SELECT - 2;
-> -2
bottom of page