)4.建表后再加 alter table #t5 add constraint ck_age3 check(age>14 or age<28)
可以用check create table student( id int(10) primary key not null, sname VARCHAR(20), sage int(2), CHECK (sage BETWEEN 14 AND 28) )