代码拉取完成,页面将自动刷新
/*
Navicat Premium Data Transfer
Source Server : localhost
Source Server Type : MySQL
Source Server Version : 80023
Source Host : localhost:3306
Source Schema : study
Target Server Type : MySQL
Target Server Version : 80023
File Encoding : 65001
Date: 20/06/2022 19:20:46
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for account
-- ----------------------------
DROP TABLE IF EXISTS `account`;
CREATE TABLE `account` (
`id` int NOT NULL AUTO_INCREMENT,
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of account
-- ----------------------------
INSERT INTO `account` VALUES (1, '123456', 'test');
INSERT INTO `account` VALUES (2, '123456', 'admin');
-- ----------------------------
-- Table structure for addborrow
-- ----------------------------
DROP TABLE IF EXISTS `addborrow`;
CREATE TABLE `addborrow` (
`bid` int NOT NULL,
`bname` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`time` datetime NULL DEFAULT NULL,
`sname` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`sid` int NULL DEFAULT NULL,
PRIMARY KEY (`bid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of addborrow
-- ----------------------------
INSERT INTO `addborrow` VALUES (1, 'Java核心技术卷一', '2022-06-15 09:49:33', '小陈', 2020111102);
INSERT INTO `addborrow` VALUES (2, '计算机网络', '2022-06-08 09:51:23', '小红', 1);
INSERT INTO `addborrow` VALUES (3, 'Javascript编程', '2022-06-15 09:51:57', '小耿', 2);
INSERT INTO `addborrow` VALUES (5, '程序员', '2022-06-20 10:49:21', '晨晨', 111);
INSERT INTO `addborrow` VALUES (6, '程序', '2022-06-20 19:00:14', '晨晨', 123);
-- ----------------------------
-- Table structure for book
-- ----------------------------
DROP TABLE IF EXISTS `book`;
CREATE TABLE `book` (
`bid` int NOT NULL AUTO_INCREMENT,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`price` double(10, 3) NULL DEFAULT NULL,
PRIMARY KEY (`bid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of book
-- ----------------------------
INSERT INTO `book` VALUES (3, 'Java核心技术卷一', '讲解Java的基础知识等', 10.200);
INSERT INTO `book` VALUES (5, 'Javaweb', '讲解web编程', 23.500);
INSERT INTO `book` VALUES (6, '我是小可爱', '小可爱小可爱', 50.000);
INSERT INTO `book` VALUES (8, '云计算导论', '云安全', 60.580);
INSERT INTO `book` VALUES (9, 'Javascript编程', '讲解JS', 48.680);
INSERT INTO `book` VALUES (11, 'JAVA EE入门到实战', 'Java基础', 58.880);
INSERT INTO `book` VALUES (12, '网页美化与布局教程', '前端三剑客', 66.660);
INSERT INTO `book` VALUES (19, '小陈实训集', '讲述了小陈实训的日常', 999.990);
INSERT INTO `book` VALUES (20, 'Java实训', '讲述了鹏哥教学的故事', 96.520);
INSERT INTO `book` VALUES (21, 'MYSQL数据库', '数据库的各种操作', 65.210);
-- ----------------------------
-- Table structure for borrow
-- ----------------------------
DROP TABLE IF EXISTS `borrow`;
CREATE TABLE `borrow` (
`id` int NOT NULL AUTO_INCREMENT,
`sid` int NULL DEFAULT NULL,
`bid` int NULL DEFAULT NULL,
`time` datetime NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of borrow
-- ----------------------------
INSERT INTO `borrow` VALUES (5, 7, 2, '2022-04-18 15:26:54');
INSERT INTO `borrow` VALUES (7, 1, 5, '2022-04-26 20:53:55');
-- ----------------------------
-- Table structure for persistent_logins
-- ----------------------------
DROP TABLE IF EXISTS `persistent_logins`;
CREATE TABLE `persistent_logins` (
`username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`series` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`last_used` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of persistent_logins
-- ----------------------------
-- ----------------------------
-- Table structure for student
-- ----------------------------
DROP TABLE IF EXISTS `student`;
CREATE TABLE `student` (
`sid` int NOT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`age` int NULL DEFAULT NULL,
`sex` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`grade` int NULL DEFAULT NULL,
PRIMARY KEY (`sid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of student
-- ----------------------------
INSERT INTO `student` VALUES (1, '小陈', 19, '男', 2020);
INSERT INTO `student` VALUES (2, '小明', 18, '男', 2018);
INSERT INTO `student` VALUES (3, '小刚', 19, '男', 2019);
INSERT INTO `student` VALUES (4, '小雷', 20, '男', 2019);
INSERT INTO `student` VALUES (5, '小红', 19, '女', 2020);
INSERT INTO `student` VALUES (6, '小兵', 19, '男', 2019);
INSERT INTO `student` VALUES (2022620, '小陈来了', 20, '男', 2020);
-- ----------------------------
-- Table structure for total
-- ----------------------------
DROP TABLE IF EXISTS `total`;
CREATE TABLE `total` (
`grade` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of total
-- ----------------------------
INSERT INTO `total` VALUES ('2018', '20');
INSERT INTO `total` VALUES ('2019', '50');
INSERT INTO `total` VALUES ('2020', '54');
INSERT INTO `total` VALUES ('2021', '25');
-- ----------------------------
-- Table structure for users
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`id` int NOT NULL,
`username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`role` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of users
-- ----------------------------
INSERT INTO `users` VALUES (1, 'Administrator', '123456', 'admin');
INSERT INTO `users` VALUES (2, 'test', '123456', 'user');
INSERT INTO `users` VALUES (3, 'xcll', '123456', 'admin');
SET FOREIGN_KEY_CHECKS = 1;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。