-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcareerguidance.sql
394 lines (317 loc) · 13.9 KB
/
careerguidance.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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
-- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Aug 26, 2019 at 07:47 PM
-- Server version: 5.7.26
-- PHP Version: 7.3.7
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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: `careerguidance`
--
-- --------------------------------------------------------
--
-- Table structure for table `admin`
--
CREATE TABLE `admin` (
`id` int(11) NOT NULL,
`fullname` varchar(50) NOT NULL,
`username` varchar(50) NOT NULL,
`password` varchar(100) NOT NULL,
`photo` varchar(250) NOT NULL DEFAULT 'avatar.png'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `admin`
--
INSERT INTO `admin` (`id`, `fullname`, `username`, `password`, `photo`) VALUES
(1, 'Suleiman', 'admin', '5f4dcc3b5aa765d61d8327deb882cf99', 'avatar.png');
-- --------------------------------------------------------
--
-- Table structure for table `career`
--
CREATE TABLE `career` (
`career_id` int(11) NOT NULL,
`course_id` int(11) NOT NULL,
`career_title` varchar(255) NOT NULL,
`career_keywords` varchar(255) NOT NULL,
`career_desc` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `career`
--
INSERT INTO `career` (`career_id`, `course_id`, `career_title`, `career_keywords`, `career_desc`) VALUES
(1, 1, 'Accountant', 'account, accountant, banking, accounting', 'A person who keeps or inspects financial accounts. '),
(2, 2, 'Architect', 'design, architect, architecture, architectural, building', 'A person who designs buildings and supervises their construction or a person responsible for the invention or realization of something.'),
(3, 3, 'Bio Chemist', 'chemist, chemistry, biology, science, chemicals', 'A person who deals with the branch of science concerned with the chemical and physico-chemical processes which occur within living organisms.'),
(4, 4, 'Computer Engineer', 'computer, science, engineer, engineering, computing, teck', 'A computer engineer is a person who develop computer product, using well defined, scientific principles and methods.'),
(5, 5, 'Computer Scientist', 'computer, computer science, scientist, problem solver, problem solving', 'A computer scientist is a person who is skilled at modifying problems for digital solutions.'),
(6, 5, 'Computer Programmer', 'computer, programmer, developer, programming, science, computer science, software, designer, developer, codes, coding', 'A computer programmer is someone who writes a sequence of instructions to guide the computer in performing a specific task.'),
(7, 5, 'Software Engineer', 'computer, programmer, developer, programming, science, computer science, software, designer, developer, codes, coding, engineer', 'Computer software engineers apply the principles and techniques of computer science, engineering, and mathematical analysis to the design, development, testing, and evaluation of the software and the systems that enable computers to perform their many applications.'),
(8, 5, 'computer data scientist', 'science, computer science, data, data analyst, programmer, developer, data science', 'Data science, also known as data-driven science, is an interdisciplinary field about scientific methods, processes, and systems to extract knowledge or insights from data in various forms, either structured or unstructured, similar to data mining.'),
(9, 6, 'Electrical Engineer', 'Electric, electrical, engineer, electronic, eclectricity', 'An electrical engineer is someone who designs and develops new electrical equipment, solves problems and tests equipment. They work with all kinds of electronic devices, from the smallest pocket devices to large supercomputers.');
-- --------------------------------------------------------
--
-- Table structure for table `counselors`
--
CREATE TABLE `counselors` (
`id` int(11) NOT NULL,
`course_id` int(11) NOT NULL,
`name` varchar(200) NOT NULL,
`email` varchar(150) NOT NULL,
`phone` varchar(20) NOT NULL,
`password` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `counselors`
--
INSERT INTO `counselors` (`id`, `course_id`, `name`, `email`, `phone`, `password`) VALUES
(1, 1, 'Mr. Isaac Moses', 'isaacmoses@gmail.com', '06021345611', '5f4dcc3b5aa765d61d8327deb882cf99'),
(2, 3, 'Mr. John Robert', 'johnrobert@gmail.com', '06087876565', '5f4dcc3b5aa765d61d8327deb882cf99'),
(3, 4, 'Musa Bello', 'bellomusa@site.com', '06043214321', '5f4dcc3b5aa765d61d8327deb882cf99'),
(4, 5, 'Muhammad Ahmad', 'mahmad@site.com', '06098765432', '5f4dcc3b5aa765d61d8327deb882cf99'),
(5, 6, 'Mr. Sunusa Musa', 'smusa@site.com', '06023456712', '5f4dcc3b5aa765d61d8327deb882cf99'),
(6, 5, 'Umar Farooq', 'umar@site.com', '08089897676', '5f4dcc3b5aa765d61d8327deb882cf99'),
(7, 4, 'Jane Doe', 'jane@doe.com', '0978766576', 'a8c0d2a9d332574951a8e4a0af7d516f');
-- --------------------------------------------------------
--
-- Table structure for table `courses`
--
CREATE TABLE `courses` (
`course_id` int(11) NOT NULL,
`course_name` varchar(255) NOT NULL,
`course_desc` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `courses`
--
INSERT INTO `courses` (`course_id`, `course_name`, `course_desc`) VALUES
(1, 'Accounting', 'The action of keeping financial accounts. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempora porro dicta inventore saepe veniam reiciendis, cupiditate quisquam distinctio.'),
(3, 'Biochemistry', 'The branch of science concerned with the chemical and physico-chemical processes which occur within living organisms. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempora porro dicta inventore saepe veniam reiciendis, cupiditate quisquam distinctio.'),
(4, 'Computer Engineering', 'Computer engineering is all about developing products, using well defined, scientific principles and methods. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempora porro dicta inventore saepe veniam reiciendis, cupiditate quisquam distinctio.'),
(5, 'Computer Science', 'Computer science is the study of problems, problem-solving, and the solutions that come out of the problem-solving process. Given a problem, a computer scientist's goal is to develop an algorithm, for solving any instance of the problem that might arise.'),
(6, 'Electronics Engineering', 'Electronic engineering is the branch of physics and technology concerned with the behaviour and movement of electrons, especially in semiconductors and gases. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempora porro dicta inventore saepe veniam reiciendis, cupiditate quisquam distinctio.');
-- --------------------------------------------------------
--
-- Table structure for table `institutions`
--
CREATE TABLE `institutions` (
`institution_id` int(10) NOT NULL,
`institution_name` varchar(200) NOT NULL,
`website` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `institutions`
--
INSERT INTO `institutions` (`institution_id`, `institution_name`, `website`) VALUES
(1, 'Kaduna State University (KASU)', 'https://www.kasu.edu.ng'),
(2, 'Ahmadu Bello University (ABU)', 'https://www.abu.edu.ng'),
(3, 'Bayero University Kano (BUK)', 'https://www.buk.edu.ng'),
(4, 'University Of Lagos (UNILAG)', 'https://www.unilag.edu.ng'),
(5, 'Kaduna State Polytechnic (KADPOLY)', 'https://www.kadpoly.edu.ng'),
(6, 'Villaria', 'https://www.villaria.com');
-- --------------------------------------------------------
--
-- Table structure for table `messages`
--
CREATE TABLE `messages` (
`id` int(10) NOT NULL,
`sender` varchar(255) NOT NULL,
`receiver` varchar(255) NOT NULL,
`content` text NOT NULL,
`viewed` int(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `messages`
--
INSERT INTO `messages` (`id`, `sender`, `receiver`, `content`, `viewed`) VALUES
(1, '1EJMPFR6LUg5QnxnFZUDsGrbX28EkEb3va', '6', 'Hello My I will like you to give me counsell on computer science', 0),
(2, '6', '1EJMPFR6LUg5QnxnFZUDsGrbX28EkEb3va', 'Hi Musa, Nice to meet you', 0),
(3, '1EJMPFR6LUg5QnxnFZUDsGrbX28EkEb3va', '6', 'Thanks for your feedback', 0);
-- --------------------------------------------------------
--
-- Table structure for table `questions`
--
CREATE TABLE `questions` (
`id` int(11) NOT NULL,
`question` varchar(255) NOT NULL,
`opt1` varchar(200) NOT NULL,
`opt2` varchar(200) NOT NULL,
`answer` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `questions`
--
INSERT INTO `questions` (`id`, `question`, `opt1`, `opt2`, `answer`) VALUES
(1, 'When does Nigeria got its independent?', '1st October 1960', '1st January 2000', '1st October 1960'),
(2, 'Who was the president of Nigeria in 2007?', 'Chief Olusegun Obasanjo', 'Goodluck Ebele Jonathan', 'Chief Olusegun Obasanjo'),
(3, 'Who is the current president of Nigeria?', 'Muhammad Buhari', 'Atiku Abubakar', 'Muhammad Buhari'),
(4, 'What are nouns?', 'Nouns are names', 'Action words', 'Nouns are names');
-- --------------------------------------------------------
--
-- Table structure for table `requirements`
--
CREATE TABLE `requirements` (
`req_id` int(11) NOT NULL,
`institution_id` int(11) NOT NULL,
`course_id` int(11) NOT NULL,
`jamb_subjects` varchar(250) NOT NULL,
`jamb_score` int(11) NOT NULL,
`waec_passes` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `requirements`
--
INSERT INTO `requirements` (`req_id`, `institution_id`, `course_id`, `jamb_subjects`, `jamb_score`, `waec_passes`) VALUES
(1, 1, 5, 'math, english, physics, chemistry or biology', 185, 'math, english, physics, chemistry, biology'),
(2, 1, 4, 'math, english, physics, chemistry or biology', 180, 'math, english, physics, chemistry, biology'),
(3, 2, 5, 'english, math, physic, chemistry or biology', 185, 'math, english, physics, chemistry, biology'),
(4, 3, 5, 'math, english, physics, chemistry or biology', 190, 'math, english, physics, chemistry, biology'),
(5, 5, 5, 'math, english, physics, chemistry or biology', 150, 'math, english, physics, chemistry, biology'),
(6, 4, 5, 'math, english, physics, chemistry or biology', 195, 'math, english, physics, chemistry, biology');
-- --------------------------------------------------------
--
-- Table structure for table `scores`
--
CREATE TABLE `scores` (
`id` int(11) NOT NULL,
`student_id` int(11) NOT NULL,
`question` varchar(255) NOT NULL,
`answer` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `scores`
--
INSERT INTO `scores` (`id`, `student_id`, `question`, `answer`) VALUES
(1, 1, 'When does Nigeria got its independent?', '1st October 1960');
-- --------------------------------------------------------
--
-- Table structure for table `students`
--
CREATE TABLE `students` (
`id` int(10) NOT NULL,
`fullname` varchar(255) NOT NULL,
`email` varchar(200) NOT NULL,
`phone` varchar(20) NOT NULL,
`password` varchar(200) NOT NULL,
`student_id` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `students`
--
INSERT INTO `students` (`id`, `fullname`, `email`, `phone`, `password`, `student_id`) VALUES
(1, 'Sani Musa', 'sanimusa@site.com', '0809898980', '5f4dcc3b5aa765d61d8327deb882cf99', '1EJMPFR6LUg5QnxnFZUDsGrbX28EkEb3va');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admin`
--
ALTER TABLE `admin`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `career`
--
ALTER TABLE `career`
ADD PRIMARY KEY (`career_id`);
--
-- Indexes for table `counselors`
--
ALTER TABLE `counselors`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `courses`
--
ALTER TABLE `courses`
ADD PRIMARY KEY (`course_id`);
--
-- Indexes for table `institutions`
--
ALTER TABLE `institutions`
ADD PRIMARY KEY (`institution_id`);
--
-- Indexes for table `messages`
--
ALTER TABLE `messages`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `questions`
--
ALTER TABLE `questions`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `requirements`
--
ALTER TABLE `requirements`
ADD PRIMARY KEY (`req_id`);
--
-- Indexes for table `scores`
--
ALTER TABLE `scores`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `students`
--
ALTER TABLE `students`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `admin`
--
ALTER TABLE `admin`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `career`
--
ALTER TABLE `career`
MODIFY `career_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT for table `counselors`
--
ALTER TABLE `counselors`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `courses`
--
ALTER TABLE `courses`
MODIFY `course_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `institutions`
--
ALTER TABLE `institutions`
MODIFY `institution_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `messages`
--
ALTER TABLE `messages`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `questions`
--
ALTER TABLE `questions`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `requirements`
--
ALTER TABLE `requirements`
MODIFY `req_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `scores`
--
ALTER TABLE `scores`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `students`
--
ALTER TABLE `students`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
/*!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 */;