ALTER TABLE 表名 ADD CONSTRAINT Ssex_rule CHECK(sex = '男' OR sex = '女');
alter table t1 add constraint sex_rule check(sex='男' or sex='女')