create database tushu;
use tushu;
create table booktype(
booktypeid int(9) primary key,
description char(20) not null
);
insert into booktype values(“01”,“数学”);
insert into booktype values(“02”,“人文”);
insert into booktype values(“03”,“外语”);
insert into booktype values(“04”,“物理”);
insert into booktype values(“05”,“化学”);
insert into booktype values(“06”,“材料”);
insert into booktype values(“07”,“计算机”);
insert into booktype values(“08”,“经济”);
insert into booktype values(“09”,“艺术”);
insert into booktype values(“10”,“军事”);
create table book(
bookid int(9) primary key,
bookname char(20)