MySQL server version for the right syntax to use near ')' at line 4 10
mysql>createtabletest(->idtinyintunsignedprimarykeyauto_increment,->usernamevarchar->...
mysql> create table test(
-> id tinyint unsigned primary key auto_increment,
-> username varchar
-> );
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 ')' at
line 4 展开
-> id tinyint unsigned primary key auto_increment,
-> username varchar
-> );
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 ')' at
line 4 展开
展开全部
username字段要加长度 username vachar(50) 。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询