相关疑难解决方法(0)

如何在MySQL中获得两个值的最大值?

我试过但失败了:

mysql> select max(1,0);
Run Code Online (Sandbox Code Playgroud)
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

mysql max

274
推荐指数
3
解决办法
11万
查看次数

标签 统计

max ×1

mysql ×1