How to invert value comming from MySQL 5.7?

后端 未结 0 1662
长发绾君心
长发绾君心 2020-12-17 04:05

I am performing a Select on 5.7.32 where I want to negate the values:

SELECT (val * -1) AS new_value

This results in the error:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题