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.
zx/image/后端的都放着里面/真香图书管理系统_image_new.sql

131 lines
10 KiB

-- 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` 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,
`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),(2,'《人生》','路遥',21,'文学名著类',NULL),(3,'《中华上下五千年》','佚名',19,'文学名著类',NULL),(4,'《百年孤独》','佚名',17,'文学名著类',NULL),(5,'《大秦帝国》','佚名',23,'文学名著类',NULL),(6,'《兄弟》','余华',21,'文学名著类',NULL),(7,'《激荡30年》','佚名',25,'文学名著类',NULL),(8,'《沧浪之水》','佚名',19,'文学名著类',NULL),(9,'《席绢全集》','席绢',23,'文学名著类',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),(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),(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),(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),(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,'人文
/*!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` 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;
/*!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` 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;
/*!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 11:00:02