首页 > 数据库 > > 为什么会发生这样的错误
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
这是什么情况
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2763/viewspace-3143137/ ,如需转载,请注明出处,否则将追究法律责任。