-
Notifications
You must be signed in to change notification settings - Fork 0
/
database.sql
229 lines (201 loc) · 10.5 KB
/
database.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
-- phpMyAdmin SQL Dump
-- version 5.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Sep 28, 2021 at 09:38 PM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.4.3
/*!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: `aggregate_db`
--
-- --------------------------------------------------------
--
-- Table structure for table `alevel_subjects`
--
DROP TABLE IF EXISTS `alevel_subjects`;
CREATE TABLE `alevel_subjects` (
`id` int(10) PRIMARY KEY AUTO_INCREMENT NOT NULL,
`name` varchar(191) NOT NULL,
`field` varchar(10) NOT NULL,
`category` varchar(191) NOT NULL,
`code` varchar(10) NOT NULL,
`paper_count` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `grades`
--
DROP TABLE IF EXISTS `combinations`;
CREATE TABLE `combinations` (
`id` int(10) PRIMARY KEY AUTO_INCREMENT NOT NULL,
`combination` varchar(20) NOT NULL,
`category` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `grades`
--
DROP TABLE IF EXISTS `grades`;
CREATE TABLE `grades` (
`id` int(10) PRIMARY KEY AUTO_INCREMENT NOT NULL,
`grade` varchar(1) NOT NULL,
`value` int(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `local_universities`
--
DROP TABLE IF EXISTS `local_universities`;
CREATE TABLE `local_universities` (
`id` int(10) PRIMARY KEY AUTO_INCREMENT NOT NULL,
`university` varchar(300) NOT NULL,
`region` varchar(20) NOT NULL,
`district` varchar(30) NOT NULL,
`award` varchar(100) NULL,
`type` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `alevel_subjects`
--
INSERT INTO `alevel_subjects` (`name`,`field`,`category`,`code`,`paper_count`) VALUES
('Agriculture','Sciences','Science','P515','3'),
('Arabic','Arts','Languages','P370',NULL),
('Art','Arts','Culture','P610','3'),
('Biology','Sciences','Science','P530','3'),
('Chemistry','Sciences','Science','P525','3'),
('Clothing and Textiles','Arts','Culture','P630',NULL),
('Divinity','Arts','Humanities','P245','3'),
('Economics','Arts','Humanities','P220','2'),
('Engineering and Metalwork','Sciences','Technical','P740',NULL),
('Entrepreneurship','Arts','Humanities','P230','2'),
('Foods and Nutrition','Sciences','Culture','P640',NULL),
('French','Arts','Languages','P330',NULL),
('General Paper','Arts','Humanities','S101','1'),
('Geography','Arts','Humanities','P250','3'),
('Geometrical and Building Drawing','Sciences','Technical','P720',NULL),
('Geometrical and Mechanical Drawing','Sciences','Technical','P710',NULL),
('German','Arts','Languages','P340',NULL),
('History','Arts','Humanities','P210','2'),
('Islam','Arts','Humanities','P235','3'),
('Kiswahili','Arts','Languages','P320',NULL),
('Latin','Arts','Languages','P350',NULL),
('Literature in English','Arts','Languages','P310',NULL),
('Luganda','Arts','Languages','P360',NULL),
('Mathematics','Sciences','Maths','P425','2'),
('Music','Arts','Culture','P620',NULL),
('Physics','Sciences','Science','P510','3'),
('Subsidiary ICT','Sciences','Technology','S840','2'),
('Subsidiary Mathematics','Sciences','Maths','S475','1'),
('Woodwork','Sciences','Technical','P730',NULL);
-- --------------------------------------------------------
--
-- Dumping data for table `grades`
--
INSERT INTO `grades` (`grade`, `value`) VALUES
('A','6'),
('B','5'),
('C','4'),
('D','3'),
('E','2'),
('O','1'),
('F','0');
-- --------------------------------------------------------
--
-- Dumping data for table `combinations`
--
INSERT INTO `combinations` (`combination`, `category`) VALUES
('BCM/IT','Sciences'),
('PCB/SM','Sciences'),
('PCM/IT','Sciences'),
('MEA/IT','Sciences'),
('MEG/IT','Sciences'),
('MEEnt/IT','Sciences'),
('MEntG/IT','Sciences'),
('PAM/IT','Sciences'),
('PEM/IT','Sciences'),
('PEntM/IT','Sciences'),
('AEEnt/SM','Arts'),
('GEA/SM','Arts'),
('GEEnt/SM','Arts'),
('GEI/SM','Arts'),
('HEA/SM','Arts'),
('HED/SM','Arts'),
('HEEnt/SM','Arts'),
('HEG/SM','Arts'),
('HEI/SM','Arts'),
('GEntD/IT','Arts'),
('GEntA/IT','Arts'),
('DEntA/IT','Arts'),
('HEntI/IT','Arts'),
('HEntG/IT','Arts'),
('HEntD/IT','Arts'),
('GEntI/IT','Arts'),
('HAG/IT','Arts');
-- --------------------------------------------------------
--
-- Dumping data for table `local_universities`
--
INSERT INTO `local_universities` (`university`, `region`, `district`, `award`, `type`) VALUES
('Muni University','North','Arua','University – Act of Parliament','Public'),
('Nile University (NiU)','North','Arua','Provisional License to Operate as University','Private'),
('Valley University of Science & Technology','West','Bushenyi','Provisional License to Operate as University','Private'),
('Busitema University','East','Busia','University – Act of Parliament','Public'),
('Gulu University','North','Gulu','University – Act of Parliament','Public'),
('University of the sacred Heart, Gulu','North','Gulu','Provisional License to Operate as University','Private'),
('Ibanda University','West','Ibanda','Provisional License to Operate as University','Private'),
('Fairland University (Closed)','East','Jinja','Provisional License to Operate as University','Private'),
('Kabale University','West','Kabale','University – Act of Parliament','Public'),
('Fins Medical University (FMU)','West','Kabarole','Provisional License to Operate as University','Private'),
('Mountains of the Moon University','West','Kabarole','Charter to University','Private'),
('Uganda Pentecostal University','West','Kabarole','Provisional License to Operate as University','Private'),
('Aga Khan University','Central','Kampala','Provisional License to Operate as University','Private'),
('Avance International University','Central','Kampala','Provisional License to Operate as University','Private'),
('Cavendish University','Central','Kampala','Provisional License to Operate as University','Private'),
('Clarke International University (Formerly International Health Sciences University)','Central','Kampala','Provisional License to Operate as University','Private'),
('International University of East Africa','Central','Kampala','Provisional License to Operate as University','Private'),
('ISBAT University','Central','Kampala','Charter to University','Private'),
('Islamic Call University College','Central','Kampala','Provisional License to Operate as University','Private'),
('Kampala International University','Central','Kampala','Charter to University','Private'),
('Kampala University','Central','Kampala','Charter to University','Private'),
('King Ceasar University (Formerly St. Augustine International University)','Central','Kampala','Provisional License to Operate as University','Private'),
('Kyambogo University','Central','Kampala','University – Act of Parliament','Public'),
('Makerere University','Central','Kampala','University – Act of Parliament','Public'),
('Nexus International University (Formerly Virtual University of Uganda)','Central','Kampala','Provisional License to Operate as University','Private'),
('St. Lawrence University','Central','Kampala','Provisional License to Operate as University','Private'),
('Stafford University (Closed)','Central','Kampala','Provisional License to Operate as University','Private'),
('Team University','Central','Kampala','Provisional License to Operate as University','Private'),
('Uganda Technology And Management University (UTAMU)','Central','Kampala','Provisional License to Operate as University','Private'),
('Unicaf University','Central','Kampala','Provisional License to Operate as University','Private'),
('Victoria University','Central','Kampala','Provisional License to Operate as University','Private'),
('Great Lakes Regional University','West','Kanungu','Provisional License to Operate as University','Private'),
('African Rural University','West','Kibaale','Provisional License to Operate as University','Private'),
('Metropolitan International University (MIU)','West','Kisoro','Provisional License to Operate as University','Private'),
('Kumi University','East','Kumi','Provisional License to Operate as University','Private'),
('All Saints University, Lango','North','Lira','Provisional License to Operate as University','Private'),
('Lira University','North','Lira','University – Act of Parliament','Public'),
('Bugema University','Central','Luwero','Charter to University','Private'),
('Ndejje University','Central','Luwero','Charter to University','Private'),
('Equator University of Science and Technology (EQUSaT)','Central','Masaka','Provisional License to Operate as University','Private'),
('Muteesa I Royal University','Central','Masaka','Provisional License to Operate as University','Private'),
('Islamic University in Uganda','East','Mbale','University – Act of Parliament','Private'),
('Livingstone International University','East','Mbale','Provisional License to Operate as University','Private'),
('Bishop Stuart University','West','Mbarara','Charter to University','Private'),
('Mbarara University of Science and Technology','West','Mbarara','University – Act of Parliament','Public'),
('University of Saint Joseph Mbarara (USJM)','West','Mbarara','Provisional License to Operate as University','Private'),
('Uganda Martyrs University','Central','Mpigi','Charter to University','Private'),
('Limkokwing University of Creative Technology','Central','Mukono','Provisional License to Operate as University','Private'),
('Uganda Christian University','Central','Mukono','Charter to University','Private'),
('Ankole Western University','West','Sheema','Provisional License to Operate as University','Private'),
('Soroti University','East','Soroti','University – Act of Parliament','Public'),
('Africa Renewal University (Formerly Gaba Bible Institute)','Central','Wakiso','Provisional License to Operate as University','Private'),
('Nkumba University','Central','Wakiso','Charter to University','Private'),
('University of Kisubi','Central','Wakiso','Provisional License to Operate as University','Private');
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 */;