日期:2014-05-17 浏览次数:20348 次
create table province(
id int identity(1,1) primary key,
pname varchar(20)
)
create table citys(
cid int identity(1,1) primary key,
cname varchar(20),
cpid int constraint cp_id references province(id)
)
create table district(
did int identity(1,1) primary key,
dname varchar(20),
cdid int constraint cd_id references citys(cid)
)