|
|
|
/*
|
|
|
|
Navicat Premium Data Transfer
|
|
|
|
|
|
|
|
Source Server : localhost_3306
|
|
|
|
Source Server Type : MySQL
|
|
|
|
Source Server Version : 50743
|
|
|
|
Source Host : localhost:3306
|
|
|
|
Source Schema : class_system
|
|
|
|
|
|
|
|
Target Server Type : MySQL
|
|
|
|
Target Server Version : 50743
|
|
|
|
File Encoding : 65001
|
|
|
|
|
|
|
|
Date: 12/10/2024 17:48:35
|
|
|
|
*/
|
|
|
|
|
|
|
|
SET NAMES utf8mb4;
|
|
|
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- Table structure for curriculum
|
|
|
|
-- ----------------------------
|
|
|
|
DROP TABLE IF EXISTS `curriculum`;
|
|
|
|
CREATE TABLE `curriculum` (
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
`course_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of curriculum
|
|
|
|
-- ----------------------------
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- Table structure for students_list
|
|
|
|
-- ----------------------------
|
|
|
|
DROP TABLE IF EXISTS `students_list`;
|
|
|
|
CREATE TABLE `students_list` (
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
`student_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
|
`marks` int(11) NOT NULL,
|
|
|
|
`absence_times` int(11) NOT NULL,
|
|
|
|
`attendance_times` int(11) NOT NULL,
|
|
|
|
`class_id` int(11) NOT NULL,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of students_list
|
|
|
|
-- ----------------------------
|
|
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|