-
Notifications
You must be signed in to change notification settings - Fork 1
/
student.sql
221 lines (190 loc) · 6.12 KB
/
student.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
-- phpMyAdmin SQL Dump
-- version 4.7.9
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 26, 2018 at 03:30 AM
-- Server version: 5.7.21-log
-- PHP Version: 7.2.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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: `student`
--
-- --------------------------------------------------------
--
-- Table structure for table `agent_registration`
--
CREATE TABLE `agent_registration` (
`agentid` int(5) NOT NULL,
`Licenceno` varchar(50) NOT NULL,
`resume` varchar(100) NOT NULL,
`experienceinyears` int(3) NOT NULL,
`contiresafiliates` varchar(60) NOT NULL,
`universitiesafiliate` varchar(60) NOT NULL,
`afname` varchar(40) NOT NULL,
`alname` varchar(40) NOT NULL,
`amname` varchar(40) NOT NULL,
`agender` varchar(10) NOT NULL,
`highesteducation` varchar(40) NOT NULL,
`acontact` int(10) NOT NULL,
`aemail` varchar(100) NOT NULL,
`businesscard` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `chooseprograms`
--
CREATE TABLE `chooseprograms` (
`cpid` int(3) NOT NULL,
`foiid` int(3) NOT NULL,
`name` varchar(60) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `chooseprograms`
--
INSERT INTO `chooseprograms` (`cpid`, `foiid`, `name`) VALUES
(1, 1, 'Diploma in Public Relations'),
(2, 1, 'BA in media marketing'),
(3, 1, 'Bachelor in Business Marketing'),
(4, 1, 'Diploma in Advertising '),
(5, 1, 'Bachelor of Business Administration'),
(11, 3, 'Bachelor Science in accounting and finance'),
(12, 3, 'Diploma in Accounting '),
(13, 3, 'Diploma in Finance'),
(14, 3, 'Bachelor in Banking and Finanace'),
(15, 3, 'Master of Accounting in Forensic Analysis'),
(17, 3, 'Diploma in Accounting '),
(18, 3, 'Diploma in Finance'),
(19, 3, 'Bachelor in Banking and Finanace'),
(20, 3, 'Master of Accounting in Forensic Analysis'),
(21, 7, 'Diploma in Corporate communication'),
(22, 7, 'Diploma in Mass communication'),
(23, 7, 'Diploma in Broadcast Journalism'),
(24, 7, 'DIP in Communication'),
(25, 7, 'Master of Corporate Governance'),
(26, 7, 'Diploma in Corporate communication'),
(27, 7, 'Diploma in Mass communication'),
(28, 7, 'Diploma in Broadcast Journalism'),
(29, 7, 'DIP in Communication'),
(30, 7, 'Master of Corporate Governance'),
(31, 9, 'Diploma in food science and technology'),
(32, 9, 'Diploma in Packaging, Design and Technology'),
(33, 9, 'Diploma in food Services'),
(34, 9, 'BSC in food science and nutrition'),
(35, 9, 'Diploma in Food Technology'),
(36, 9, 'Diploma in food science and technology'),
(37, 9, 'Diploma in Packaging, Design and Technology'),
(38, 9, 'Diploma in food Services'),
(39, 9, 'BSC in food science and nutrition'),
(40, 9, 'Diploma in Food Technology'),
(41, 11, 'MSC in Wireless and Satellite Communication'),
(42, 11, 'Diploma in Information and Communication Technology'),
(43, 11, 'B.Eng in Computing Engineering'),
(44, 11, 'B.Eng in Petrol engineering'),
(45, 11, 'B.Sc IT '),
(46, 11, 'MSC in Wireless and Satellite Communication'),
(47, 11, 'Diploma in Information and Communication Technology'),
(48, 11, 'B.Eng in Computing Engineering'),
(49, 11, 'B.Eng in Petrol engineering'),
(50, 11, 'B.Sc IT ');
-- --------------------------------------------------------
--
-- Table structure for table `fieldofinterest`
--
CREATE TABLE `fieldofinterest` (
`foiid` int(5) NOT NULL,
`Name` varchar(60) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `fieldofinterest`
--
INSERT INTO `fieldofinterest` (`foiid`, `Name`) VALUES
(1, 'Marketing and Sales'),
(3, 'Accounting and Finance '),
(7, 'Communication and Broadcasting'),
(9, 'Manufacturing and Processing '),
(11, 'Computing and IT');
-- --------------------------------------------------------
--
-- Table structure for table `stud_registration`
--
CREATE TABLE `stud_registration` (
`srno` int(3) NOT NULL,
`sfname` varchar(35) NOT NULL,
`smname` varchar(35) NOT NULL,
`sfamname` varchar(35) NOT NULL,
`spfname` varchar(35) NOT NULL,
`sgender` varchar(1) NOT NULL,
`sfspokenlang` varchar(60) NOT NULL,
`sdob` date NOT NULL,
`contactno` int(10) NOT NULL,
`nationality` varchar(35) NOT NULL,
`hschool` varchar(100) NOT NULL,
`postsecondary` varchar(100) NOT NULL,
`fostudy` varchar(45) NOT NULL,
`highesteducation` varchar(35) NOT NULL,
`dosl` date NOT NULL,
`dlaps` varchar(35) NOT NULL,
`ieltsresult` int(4) NOT NULL,
`currentadd` varchar(120) NOT NULL,
`permanentadd` varchar(120) NOT NULL,
`activated` int(1) NOT NULL DEFAULT '0',
`semail` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `agent_registration`
--
ALTER TABLE `agent_registration`
ADD PRIMARY KEY (`agentid`);
--
-- Indexes for table `chooseprograms`
--
ALTER TABLE `chooseprograms`
ADD PRIMARY KEY (`cpid`);
--
-- Indexes for table `fieldofinterest`
--
ALTER TABLE `fieldofinterest`
ADD PRIMARY KEY (`foiid`);
--
-- Indexes for table `stud_registration`
--
ALTER TABLE `stud_registration`
ADD PRIMARY KEY (`srno`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `agent_registration`
--
ALTER TABLE `agent_registration`
MODIFY `agentid` int(5) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `chooseprograms`
--
ALTER TABLE `chooseprograms`
MODIFY `cpid` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51;
--
-- AUTO_INCREMENT for table `fieldofinterest`
--
ALTER TABLE `fieldofinterest`
MODIFY `foiid` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `stud_registration`
--
ALTER TABLE `stud_registration`
MODIFY `srno` int(3) NOT NULL AUTO_INCREMENT;
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 */;