数据库约束 1.非空约束 DROP TABLE member PURGE; CREATE TABLE member( mid number , name varchar2(20) not null, email varchar2(30) , constraint pk_mid PRIMARY KEY(mid) ); insert into member(mid,name,email)values(10,'李四','111') 2.唯一约束 null不受null约束 设置别名 UNIQUE,NK…