--鼠标操作还原TestDB.bak
2.
use TestDB
go
create table st_test(St_id int identity(1,1) primary key,
St_name varchar(30) not null,
St_age int,St_sex varchar(30))
go
3.
insert into st_test values('jack',18,'male');
insert into st_test values('marry',18,'femal');
insert into st_test values('lucy',18,'femal');
4.
select * from st_test where St_sex='femal';
5.
alter table st_test
add check(St_age between 18 and 20);作者: chu2002feng 时间: 2019-1-23 15:24
什么数据库啊?