--1.
insert into Booktype values( 'c#')
insert into Booktype values( 'SQL')
insert into Booktype values( 'Java')
insert into Booktype values( 'C++')
--2.
select * from BookInfo
insert BookInfo values(1, 'C#1.0', 'smith',20,2)
insert BookInfo values(1, 'C#2.0', 'jerry',20,10)
insert BookInfo values(2, 'sql2000', 'smith',5,2)
insert BookInfo values(2, 'sql2005', 'jerry',0,20)
insert BookInfo values(3, 'jsp', 'smith',30,2)
insert BookInfo values(3, 'j2ee', 'jerry',6,0)
insert BookInfo values(4, 'C++入门', 'smith',5,2)
insert BookInfo values(4, 'C++高级', 'jerry',0,10)
--3.
insert Readinfo values( '王小红',1)
insert Readinfo values( '梁龙',2)
insert Readinfo values( '刘晓奇',3)
insert Readinfo values( '维斯李',2)
--4.
insert borrowinfo values(1,1, '2009-1-1', '2009-2-2')
insert borrowinfo values(1,2, '2009-1-1', '2009-1-20')
insert borrowinfo values(2,4, '2009-5-1', '2009-7-20')
insert borrowinfo values(2,2, '2009-1-1', '2009-2-2')
insert borrowinfo values(3,3, '2009-7-1', null)
insert borrowinfo values(3,5, '2009-7-1', '2009-8-20')
insert borrowinfo values(2,4, '2009-5-1', '2009-7-2')
insert borrowinfo values(4,2, '2009-7-1', '2009-9-2')
insert borrowinfo values(4,1, '2009-5-1', '2009-6-2')
insert borrowinfo values(4,8, '2009-1-1', '2009-1-20')
insert borrowinfo values(3,7, '2009-5-1', '2009-7-2')
insert borrowinfo values(2,3, '2009-10-1', null)
--5.
insert Fineinfo values(1,0.1, '2009-2-2')
insert Fineinfo values(2,1, '2009-7-20')