mysql建数据表时提示错误 error 1064 42000
新手,请大家指教:我写的代码如下:mysql>usedb_admin;databasechangemysql>createtabletb_admin<>idintauto...
新手,请大家指教:
我写的代码如下:
mysql>use db_admin;
database change
mysql>create table tb_admin<
>id int auto_increment primary key,
>user varchar<30> not null,
>createtime datetime>;
mysql建数据表时提示错误: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’<id int auto_inerement primary key, user varchar<30>not null, password varchar'at line/ 展开
我写的代码如下:
mysql>use db_admin;
database change
mysql>create table tb_admin<
>id int auto_increment primary key,
>user varchar<30> not null,
>createtime datetime>;
mysql建数据表时提示错误: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’<id int auto_inerement primary key, user varchar<30>not null, password varchar'at line/ 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询