热门

最新

红包

立Flag

投票

同城

我的

发布
weixin_44911005
weixin_44911005
5 年前
trueweixin_44911005

mysql> create table Student(Stu_no int(10) primary key,Stu_name varchar(10) not null,Stu_age int(2),Stu_sex char(2) check(sex='男'or'女') not null,Stu_address varchar(20),Stu_email varchar(20));

1064 - 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 'not null,Stu_address varchar(20),Stu_email varchar(20))' at line 1
请问这个要怎么解决啊

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
今日份点赞继续走起啦!
立即登录