-- MySQL dump 10.13 Distrib 8.0.13, for Win64 (x86_64) -- -- Host: localhost Database: zx -- ------------------------------------------------------ -- Server version 8.0.13 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; SET NAMES utf8 ; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `book` -- DROP TABLE IF EXISTS `book`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `book` ( `book_id` varchar(45) NOT NULL, `book_name` varchar(45) NOT NULL, `book_author` varchar(20) NOT NULL, `book_num` int(5) NOT NULL, `book_sort` varchar(20) NOT NULL, `book_image` varchar(300) DEFAULT NULL, PRIMARY KEY (`book_id`,`book_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `book` -- LOCK TABLES `book` WRITE; /*!40000 ALTER TABLE `book` DISABLE KEYS */; INSERT INTO `book` VALUES ('1','《四书五经合集》','古代多人',20,'文学名著类',NULL),('10','《格列佛游记》','佚名',18,'文学名著类',NULL),('11','《洛丽塔》','佚名',18,'文学名著类',NULL),('12','《林徽因传》','张清平',16,'文学名著类',NULL),('13','《莎士比亚十四行诗集》','佚名',20,'文学名著类',NULL),('14','《陈良宇传奇》','佚名',21,'文学名著类',NULL),('15','《邓小平传》','佚名',17,'文学名著类',NULL),('16','《滚雪球:巴菲特和他的财富人生》','佚名',17,'文学名著类',NULL),('17','《老人与海》','佚名',21,'文学名著类',NULL),('18','《忏悔录》','卢梭',22,'文学名著类',NULL),('19','《海岩全集》','佚名',24,'文学名著类',NULL),('2','《人生》','路遥',21,'文学名著类',NULL),('20','《三毛全集》','佚名',20,'文学名著类',NULL),('21','《人性的光辉:林肯传》','戴尔·卡耐基',18,'文学名著类',NULL),('22','《呼啸山庄》','佚名',21,'文学名著类',NULL),('23','《村上春树全集》','佚名',20,'文学名著类',NULL),('24','《红与黑》','佚名',21,'文学名著类',NULL),('25','《孙中山全传》','佚名',18,'文学名著类',NULL),('26','《本草纲目》','李时珍',16,'文学名著类',NULL),('27','《一口气读完世界史》','佚名',17,'文学名著类',NULL),('28','《平凡的世界》','路遥',25,'文学名著类',NULL),('29','《巨星闪耀》','郭宏军',24,'文学名著类',NULL),('3','《中华上下五千年》','佚名',19,'文学名著类',NULL),('30','《白话山海经》','佚名',19,'文学名著类',NULL),('31','《枪手的新娘》','佚名',24,'文学名著类',NULL),('32','《李安传:十年一觉电影梦》','张靓蓓',19,'文学名著类',NULL),('33','《一个陌生女人的来信》','佚名',18,'文学名著类',NULL),('34','《北洋军阀统治时期史话》','佚名',24,'文学名著类',NULL),('35','《鲁宾逊漂流记》','佚名',21,'文学名著类',NULL),('36','《三毛作品集》','三毛',17,'文学名著类',NULL),('37','《菊与刀》','佚名',25,'文学名著类',NULL),('38','《歌舞伎町案内人》','佚名',21,'文学名著类',NULL),('39','《红顶商人胡雪岩》','佚名',16,'文学名著类',NULL),('4','《百年孤独》','佚名',17,'文学名著类',NULL),('40','《汉武帝》','叶绍翁',25,'文学名著类',NULL),('41','《灯草和尚》','高则诚',16,'文学名著类',NULL),('42','《路遥全集》','佚名',20,'文学名著类',NULL),('43','《古文观止+译文》','佚名',24,'文学名著类',NULL),('44','《风雨独立路-李光耀传》','李光耀',23,'文学名著类',NULL),('45','《余华文集》','余华',21,'文学名著类',NULL),('46','《张小娴作品集》','张小娴',24,'文学名著类',NULL),('47','《明亡清兴六十年》','佚名',25,'文学名著类',NULL),('48','《千年一叹-余秋雨》','佚名',24,'文学名著类',NULL),('49','《我的禅》','卫慧',19,'文学名著类',NULL),('5','《大秦帝国》','佚名',23,'文学名著类',NULL),('50','《川端康成文集》','佚名',19,'文学名著类',NULL),('51','《天龙八部》','金庸',20,'文学名著类',NULL),('52','《沉思录II》','佚名',17,'文学名著类',NULL),('53','《雍正王朝:恨水东逝》','佚名',22,'文学名著类',NULL),('54','《莎士比亚全集》','莎士比亚',23,'文学名著类',NULL),('55','《中国史学入门》','顾颉刚',10,'人文历史类','https://www.tuijianshu.net/data/attachment/portal/201801/08/103713ezljjj2twc90o2zl.jpg'),('56','《明朝那些事儿》','石悦',15,'人文历史类','https://www.tuijianshu.net/data/attachment/portal/201801/08/103714c7m2mfo7ibmj2oda.jpg'),('57','《袁氏当国》','唐德刚',12,'人文历史类','https://www.tuijianshu.net/data/attachment/portal/201801/08/103715kiwrwyk6ef8zur60.jpg'),('58','《天朝的崩溃》','茅海建',5,'人文历史类','https://www.tuijianshu.net/data/attachment/portal/201801/08/103714nzmm6m418148zvjm.jpg'),('59','《东晋门阀政治》','田余庆',20,'人文历史类','https://www.tuijianshu.net/data/attachment/portal/201801/08/103714wf5md3dd45d8t853.jpg'),('6','《兄弟》','余华',21,'文学名著类',NULL),('60','《通俗天文学》','(美)西蒙·纽康 ',23,'自然科学类','https://imgsa.baidu.com/forum/w%3D580/sign=c38f2ff316ce36d3a20483380af33a24/a5af885494eef01fa213cbece3fe9925bc317db0.jpg'),('61','《自私的基因》','[英]理查德·道金斯',45,'自然科学类','https://imgsa.baidu.com/forum/w%3D580/sign=8940a4b08126cffc692abfba89014a7d/5e6a24a4462309f7ae577f3b710e0cf3d7cad6fb.jpg'),('62','《发现之旅》','托尼赖斯',20,'自然科学类','https://imgsa.baidu.com/forum/w%3D580/sign=f4515b27b23533faf5b6932698d2fdca/5387dd33c895d14340c2360a70f082025aaf0707.jpg'),('63','《宇宙之书》','约翰.D.巴罗',18,'自然科学类','https://imgsa.baidu.com/forum/w%3D580/sign=b5527a41d209b3deebbfe460fcbf6cd3/ba38932bd40735fa05d193909d510fb30f240892.jpg'),('64','《信号与系统》','Alan V.Oppenheim',20,'计算机类','https://img3.doubanio.com/view/subject/l/public/s11114362.jpg'),('65','《第一行代码》','郭霖',10,'计算机类','https://img3.doubanio.com/view/subject/l/public/s28351121.jpg'),('66','《HTTP权威指南》',' David Gourley',9,'计算机类','https://img1.doubanio.com/view/subject/l/public/s11329547.jpg'),('67','《解TCP/IP : 第5版》','[日]竹下隆史',10,'计算机类','https://img1.doubanio.com/view/subject/l/public/s26676928.jpg'),('68','《肿瘤常见症状的中西医处理手册》','李萍萍 ',5,'医学类','https://gss1.bdstatic.com/-vo3dSag_xI4khGkpoWK1HF6hhy/baike/w%3D268/sign=6349472f28381f309e198aaf91004c67/21a4462309f79052654432290cf3d7ca7bcbd54a.jpg'),('69','《中国的医药》','魏子孝&聂丽芳',6,'医学类','http://image31.bookschina.com/2010/20100530/4623628.jpg'),('7','《激荡30年》','佚名',25,'文学名著类',NULL),('70','《中华医药学史》','林品石',7,'医学类','http://image31.bookschina.com/2007/20070803/B2395955.jpg'),('71','《中医熟记的100种中药》','肖锦仁',8,'医学类','http://image12.bookschina.com/2016/20161220/B5319814.jpg'),('72','《永续农业概论》','莫里森',20,'农学类','http://img3m2.ddimg.cn/5/13/23581112-1_b_1.jpg'),('73','《全息自然农法实现》','何以兴农',18,'农学类','http://img3m6.ddimg.cn/85/35/23380816-1_b_2.jpg'),('74','《作物育种学》','席章营',5,'农学类','http://img3m8.ddimg.cn/3/27/23446668-1_b_0.jpg'),('75','《中国农学史》','曾雄生',20,'农学类','http://img3m2.ddimg.cn/39/31/22609362-1_b_1.jpg'),('8','《沧浪之水》','佚名',19,'文学名著类',NULL),('9','《席绢全集》','席绢',23,'文学名著类',NULL); /*!40000 ALTER TABLE `book` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `borrowrecord` -- DROP TABLE IF EXISTS `borrowrecord`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `borrowrecord` ( `s_id` varchar(45) NOT NULL, `book_id` varchar(45) NOT NULL, `s_name` varchar(20) NOT NULL, `book_name` varchar(20) NOT NULL, `book_num` int(5) NOT NULL, PRIMARY KEY (`s_id`,`book_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `borrowrecord` -- LOCK TABLES `borrowrecord` WRITE; /*!40000 ALTER TABLE `borrowrecord` DISABLE KEYS */; /*!40000 ALTER TABLE `borrowrecord` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `manager` -- DROP TABLE IF EXISTS `manager`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `manager` ( `m_id` int(20) NOT NULL, `m_password` varchar(20) NOT NULL, PRIMARY KEY (`m_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `manager` -- LOCK TABLES `manager` WRITE; /*!40000 ALTER TABLE `manager` DISABLE KEYS */; INSERT INTO `manager` VALUES (1,'000000'),(2,'000000'); /*!40000 ALTER TABLE `manager` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `student` -- DROP TABLE IF EXISTS `student`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `student` ( `s_id` varchar(45) NOT NULL, `s_password` varchar(20) NOT NULL, `s_name` varchar(20) NOT NULL, PRIMARY KEY (`s_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `student` -- LOCK TABLES `student` WRITE; /*!40000 ALTER TABLE `student` DISABLE KEYS */; INSERT INTO `student` VALUES ('20160801','123456','xzy'),('20160802','123456','zxy'),('20160803','123456','myj'),('20160804','123456','zjh'); /*!40000 ALTER TABLE `student` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2019-01-15 15:30:33