ITPub博客

首页 > 数据库 > > 为什么会发生这样的错误

为什么会发生这样的错误

作者:micromad 时间:2019-10-09 17:04:21 0 删除 编辑

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/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-08-16

  • 博文量
    75
  • 访问量
    574