mysql> CREATE TABLE tb1( -> username VARCHAR(20), -> salary FLOAT(8,2) UNSIGNED, -> );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 ',2) UNSIGNED,)' at line 3这是什么情况
4 回答
尧叔
TA贡献77条经验 获得超201个赞
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 ',2) UNSIGNED,
)' at line 3
耐心点看,意思你第三行的2附近有语法错误,我目测是个中文逗号。
谢谢采纳~
添加回答
举报
0/150
提交
取消