You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
207 lines
9.0 KiB
207 lines
9.0 KiB
|
|
-- MySQL dump 10.13 Distrib 8.0.13, for Win64 (x86_64)
|
|
--
|
|
-- Host: localhost Database: 真香图书管理系统
|
|
-- ------------------------------------------------------
|
|
-- 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 = utf8 ;
|
|
CREATE TABLE `book` (
|
|
`book_id` int(20) 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,
|
|
PRIMARY KEY (`book_id`,`book_name`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
|
|
/*!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` (`book_id`, `book_name`, `book_author`, `book_num`, `book_sort`)
|
|
VALUES
|
|
(1,'《四书五经合集》','古代多人',20,'文学名著类'),
|
|
(2,'《人生》','路遥',21,'文学名著类'),
|
|
(3,'《中华上下五千年》','佚名',19,'文学名著类'),
|
|
(4,'《百年孤独》','佚名',17,'文学名著类'),
|
|
(5,'《大秦帝国》','佚名',23,'文学名著类'),
|
|
(6,'《兄弟》','余华',21,'文学名著类'),
|
|
(7,'《激荡30年》','佚名',25,'文学名著类'),
|
|
(8,'《沧浪之水》','佚名',19,'文学名著类'),
|
|
(9,'《席绢全集》','席绢',23,'文学名著类'),
|
|
(10,'《格列佛游记》','佚名',18,'文学名著类'),
|
|
(11,'《洛丽塔》','佚名',18,'文学名著类'),
|
|
(12,'《林徽因传》','张清平',16,'文学名著类'),
|
|
(13,'《莎士比亚十四行诗集》','佚名',20,'文学名著类'),
|
|
(14,'《陈良宇传奇》','佚名',21,'文学名著类'),
|
|
(15,'《邓小平传》','佚名',17,'文学名著类'),
|
|
(16,'《滚雪球:巴菲特和他的财富人生》','佚名',17,'文学名著类'),
|
|
(17,'《老人与海》','佚名',21,'文学名著类'),
|
|
(18,'《忏悔录》','卢梭',22,'文学名著类'),
|
|
(19,'《海岩全集》','佚名',24,'文学名著类'),
|
|
(20,'《三毛全集》','佚名',20,'文学名著类'),
|
|
(21,'《人性的光辉:林肯传》','戴尔·卡耐基',18,'文学名著类'),
|
|
(22,'《呼啸山庄》','佚名',21,'文学名著类'),
|
|
(23,'《村上春树全集》','佚名',20,'文学名著类'),
|
|
(24,'《红与黑》','佚名',21,'文学名著类'),
|
|
(25,'《孙中山全传》','佚名',18,'文学名著类'),
|
|
(26,'《本草纲目》','李时珍',16,'文学名著类'),
|
|
(27,'《一口气读完世界史》','佚名',17,'文学名著类'),
|
|
(28,'《平凡的世界》','路遥',25,'文学名著类'),
|
|
(29,'《巨星闪耀》','郭宏军',24,'文学名著类'),
|
|
(30,'《白话山海经》','佚名',19,'文学名著类'),
|
|
(31,'《枪手的新娘》','佚名',24,'文学名著类'),
|
|
(32,'《李安传:十年一觉电影梦》','张靓蓓',19,'文学名著类'),
|
|
(33,'《一个陌生女人的来信》','佚名',18,'文学名著类'),
|
|
(34,'《北洋军阀统治时期史话》','佚名',24,'文学名著类'),
|
|
(35,'《鲁宾逊漂流记》','佚名',21,'文学名著类'),
|
|
(36,'《三毛作品集》','三毛',17,'文学名著类'),
|
|
(37,'《菊与刀》','佚名',25,'文学名著类'),
|
|
(38,'《歌舞伎町案内人》','佚名',21,'文学名著类'),
|
|
(39,'《红顶商人胡雪岩》','佚名',16,'文学名著类'),
|
|
(40,'《汉武帝》','叶绍翁',25,'文学名著类'),
|
|
(41,'《灯草和尚》','高则诚',16,'文学名著类'),
|
|
(42,'《路遥全集》','佚名',20,'文学名著类'),
|
|
(43,'《古文观止+译文》','佚名',24,'文学名著类'),
|
|
(44,'《风雨独立路-李光耀传》','李光耀',23,'文学名著类'),
|
|
(45,'《余华文集》','余华',21,'文学名著类'),
|
|
(46,'《张小娴作品集》','张小娴',24,'文学名著类'),
|
|
(47,'《明亡清兴六十年》','佚名',25,'文学名著类'),
|
|
(48,'《千年一叹-余秋雨》','佚名',24,'文学名著类'),
|
|
(49,'《我的禅》','卫慧',19,'文学名著类'),
|
|
(50,'《川端康成文集》','佚名',19,'文学名著类'),
|
|
(51,'《天龙八部》','金庸',20,'文学名著类'),
|
|
(52,'《沉思录II》','佚名',17,'文学名著类'),
|
|
(53,'《雍正王朝:恨水东逝》','佚名',22,'文学名著类'),
|
|
(54,'《莎士比亚全集》','莎士比亚',23,'文学名著类'),
|
|
(55,'《中国史学入门》','顾颉刚',10,'人文历史类'),
|
|
(56,'《明朝那些事儿》','石悦',15,'人文历史类'),
|
|
(57,'《袁氏当国》','唐德刚',12,'人文历史类'),
|
|
(58,'《天朝的崩溃》','茅海建',5,'人文历史类'),
|
|
(59,'《东晋门阀政治》','田余庆',20,'人文历史类'),
|
|
(60,'《通俗天文学》','(美)西蒙·纽康 ',23,'自然科学类'),
|
|
(61,'《自私的基因》','[英]理查德·道金斯',45,'自然科学类'),
|
|
(62,'《发现之旅》','托尼赖斯',20,'自然科学类'),
|
|
(63,'《宇宙之书》','约翰.D.巴罗',18,'自然科学类'),
|
|
(64,'《信号与系统》','Alan V.Oppenheim',20,'计算机类'),
|
|
(65,'《第一行代码》','郭霖',10,'计算机类'),
|
|
(66,'《HTTP权威指南》',' David Gourley',9,'计算机类'),
|
|
(67,'《解TCP/IP : 第5版》','[日]竹下隆史',10,'计算机类'),
|
|
(68,'《肿瘤常见症状的中西医处理手册》','李萍萍 ',5,'医学类'),
|
|
(69,'《中国的医药》','魏子孝&聂丽芳',6,'医学类'),
|
|
(70,'《中华医药学史》','林品石',7,'医学类'),
|
|
(71,'《中医熟记的100种中药》','肖锦仁',8,'医学类'),
|
|
(72,'《永续农业概论》','莫里森',20,'农学类'),
|
|
(73,'《全息自然农法实现》','何以兴农',18,'农学类'),
|
|
(74,'《作物育种学》','席章营',5,'农学类'),
|
|
(75,'《中国农学史》','曾雄生',20,'农学类');
|
|
/*!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 = utf8 ;
|
|
CREATE TABLE `borrowrecord` (
|
|
`s_id` int(20) NOT NULL,
|
|
`book_id` int(20) 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 COLLATE=utf8_general_ci;
|
|
/*!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 = utf8 ;
|
|
CREATE TABLE `manager` (
|
|
`m_id` int(20) NOT NULL,
|
|
`m_password` varchar(20) NOT NULL,
|
|
PRIMARY KEY (`m_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
|
|
/*!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 = utf8 ;
|
|
CREATE TABLE `student` (
|
|
`s_id` int(20) NOT NULL,
|
|
`s_password` varchar(20) NOT NULL,
|
|
`s_name` varchar(20) NOT NULL,
|
|
PRIMARY KEY (`s_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
|
|
/*!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-11 10:30:38
|