How to get the max of two values in MySQL?
I tried but failed:
mysql> select max(1,0);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to use
near '0)' at line 1
Subject
Views
Written By
Posted
How to get the max of two values in MySQL?
1327
December 05, 2020 02:59AM
537
December 05, 2020 10:33AM
492
December 06, 2020 10:16PM
561
January 20, 2021 12:56AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.