報(bào)錯(cuò),不知道為啥 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

galleryfake
2014-07-24
3 回答
舉報(bào)
0/150
提交
取消
2014-08-26
你看看~
2014-07-24
找到問題了, salary FLOAT(8,2) UNSIGNED, 這里加了逗號(hào)...
2014-07-24
補(bǔ)充: to use near ')' at line 5