報錯,不知道為啥 root@localhost@test>CREATE TABLE tb1( -> username VARCHAR(20), -> age TINYINT UNSIGNED, -> 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 us
3 回答
舉報
0/150
提交
取消
2014-08-26
你看看~
2014-07-24
找到問題了, salary FLOAT(8,2) UNSIGNED, 這里加了逗號...
2014-07-24
補充: to use near ')' at line 5