Home >Backend Development >PHP Tutorial >sql创建表单有关问题!求解

sql创建表单有关问题!求解

WBOY
WBOYOriginal
2016-06-13 12:21:301076browse

sql创建表单问题!!!求解
create table admin(
userId smallint(5)primary key not null auto_increment,
userName  varchar(70) not null,
userAge tinyint,
userSex  enum("1","2"),
userDate  date
);
========================================================================
请帮看下这段sql语句
我试了好多遍不成功,求大神路过指导下,这表单创建感觉好难掌握
------解决思路----------------------
create table admin
userId smallint5primary key not null auto_increment,
userName  varchar70) not null
userAge tinyint,
userSex  enum"1","2",
userDate  date
);
红色部分改回半角就可以了。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn