SQL Editor(1).sql
create table catelog(
cid int auto_increment primary key,
cname varchar(10)not null
)
create table pp(
pid int auto_increment primary key,
pname varchar(10)not null,
cid int not null,
constraint cp foreign key(cid)references catelog(cid)