唯一约束

值没给, 就使用默认值

Create table stu6(

Id  int  primary key,

Name varchar(50) not null,

Sex varchar(10)Default

);

查看表结构

Desc stu6;

Insert into stu6(id,name,sex)values(1,zsf,);

posted @ 2021-04-13 09:12  啊阿啊  阅读(65)  评论(0)    收藏  举报