-
Notifications
You must be signed in to change notification settings - Fork 1
/
result_db (1).sql
195 lines (155 loc) · 5.33 KB
/
result_db (1).sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 10, 2023 at 06:05 PM
-- Server version: 10.4.24-MariaDB
-- PHP Version: 8.1.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!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 */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `result_db`
--
-- --------------------------------------------------------
--
-- Table structure for table `admin_login`
--
CREATE TABLE `admin_login` (
`username` varchar(20) NOT NULL,
`password` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `admin_login`
--
INSERT INTO `admin_login` (`username`, `password`) VALUES
('admin', 'password');
-- --------------------------------------------------------
--
-- Table structure for table `parent_login`
--
CREATE TABLE `parent_login` (
`sname` varchar(30) NOT NULL,
`semail` varchar(30) NOT NULL,
`pemail` varchar(20) NOT NULL,
`ppassword` varchar(20) NOT NULL,
`pname` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `parent_login`
--
INSERT INTO `parent_login` (`sname`, `semail`, `pemail`, `ppassword`, `pname`) VALUES
('student', '[email protected]', '[email protected]', 'parent123', 'parent'),
('student2', '[email protected]', '[email protected]', 'parent123', 'parent2'),
('student3', '[email protected]', '[email protected]', 'parent123', 'parent3'),
('Student4', '[email protected]', '[email protected]', 'parent123', 'parent4'),
('student5', '[email protected]', '[email protected]', 'parent123', 'parent5'),
('sidharth', '[email protected]', '[email protected]', '12345678', 'parent4');
-- --------------------------------------------------------
--
-- Table structure for table `sem_1`
--
CREATE TABLE `sem_1` (
`mark1` int(20) NOT NULL,
`mark2` int(20) NOT NULL,
`mark3` int(20) NOT NULL,
`mark4` int(20) NOT NULL,
`sname` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `sem_1`
--
INSERT INTO `sem_1` (`mark1`, `mark2`, `mark3`, `mark4`, `sname`) VALUES
(99, 89, 79, 69, 'student'),
(99, 98, 97, 96, 'student2'),
(31, 33, 35, 37, 'student3'),
(75, 65, 55, 45, 'Student4'),
(12, 90, 89, 98, 'student5'),
(0, 0, 0, 0, 'sidharth');
-- --------------------------------------------------------
--
-- Table structure for table `sem_2`
--
CREATE TABLE `sem_2` (
`sname` varchar(30) NOT NULL,
`mark1` int(10) NOT NULL,
`mark2` int(10) NOT NULL,
`mark3` int(10) NOT NULL,
`mark4` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `sem_2`
--
INSERT INTO `sem_2` (`sname`, `mark1`, `mark2`, `mark3`, `mark4`) VALUES
('student', 59, 49, 39, 29),
('student2', 50, 60, 70, 80),
('student3', 40, 41, 42, 43),
('Student4', 0, 20, 30, 100),
('student5', 75, 50, 35, 50),
('sidharth', 76, 56, 69, 80);
-- --------------------------------------------------------
--
-- Table structure for table `student_login`
--
CREATE TABLE `student_login` (
`semail` varchar(30) NOT NULL,
`spassword` varchar(30) NOT NULL,
`sname` varchar(30) NOT NULL,
`pname` varchar(30) NOT NULL,
`pemail` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `student_login`
--
INSERT INTO `student_login` (`semail`, `spassword`, `sname`, `pname`, `pemail`) VALUES
('[email protected]', 'student123', 'student', 'parent', '[email protected]'),
('[email protected]', 'student123', 'student2', 'parent2', '[email protected]'),
('[email protected]', 'student123', 'student3', 'parent3', '[email protected]'),
('[email protected]', 'student123', 'Student4', 'parent4', '[email protected]'),
('[email protected]', 'student123', 'student5', 'parent5', '[email protected]'),
('[email protected]', 'sidharthkj', 'sidharth', 'parent4', '[email protected]');
-- --------------------------------------------------------
--
-- Table structure for table `student_review`
--
CREATE TABLE `student_review` (
`sname` varchar(30) NOT NULL,
`review` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `student_review`
--
INSERT INTO `student_review` (`sname`, `review`) VALUES
('student', 'test review'),
('student2', 'review \r\n'),
('student3', 'review3'),
('Student4', 'Review 4'),
('student5', 'review 5'),
('sidharth', ',jknkjkl .,.,.');
-- --------------------------------------------------------
--
-- Table structure for table `teacher_login`
--
CREATE TABLE `teacher_login` (
`tname` varchar(30) NOT NULL,
`temail` varchar(50) NOT NULL,
`tpassword` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `teacher_login`
--
INSERT INTO `teacher_login` (`tname`, `temail`, `tpassword`) VALUES
('Arjun', '[email protected]', 'arjun123'),
('Aravinth', '[email protected]', 'aravinth123'),
('Sidharth', '[email protected]', 'sidharth123'),
('anu miss', '[email protected]', 'anumisskj'),
('Arjun C Vinod', '[email protected]', 'arjun123');
COMMIT;
/*!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 */;