View
32
Download
5
Category
Preview:
Citation preview
Scholarship Database Management
System
Institute of Business Administration, University of the Punjab, Lahore, Pakistan
1 | P a g e
Scholarship Database Management System
TABLE OF CONTENTS 1 WAPDA................................................................................................................. 11
1.1 INCORPORATION: ...................................................................................... 11
1.2 RESPONSIBILITIES ..................................................................................... 11
1.3 SEGMENTS ................................................................................................... 11
1.4 POWER Wing ................................................................................................ 11
1.5 WATER Wing ................................................................................................ 11
2 ORGANOGRAM .................................................................................................. 12
3 EXPERIENCE ....................................................................................................... 13
4 CASE SCENARIO: ............................................................................................... 14
5 ENTITIES:............................................................................................................. 15
6 ASSOCIATIONS: ................................................................................................. 16
7 QUESTIONNAIRE ............................................................................................... 17
8 ERD BEFORE NORMALIZATION .................................................................... 18
9 NORMALIZATION:............................................................................................. 23
9.1 ADDRESS ...................................................................................................... 23
9.1.1 1st Normal Form (1NF): ........................................................................... 24
9.1.2 2nd Normal Form (2NF): .......................................................................... 24
9.1.3 3rd Normal Form (3NF): .......................................................................... 25
9.2 APPLICANTS ................................................................................................ 25
9.2.1 1st Normal Form (1NF): ........................................................................... 26
9.2.2 2nd Normal Form (2NF): .......................................................................... 26
9.2.3 3rd Normal Form (3NF): .......................................................................... 26
9.3 CHILDREN .................................................................................................... 27
9.3.1 1st Normal Form (1NF): ........................................................................... 28
9.3.2 2nd Normal Form (2NF): .......................................................................... 28
9.3.3 3rd Normal Form (3NF): .......................................................................... 28
9.4 CONTACT ..................................................................................................... 30
9.4.1 1st Normal Form (1NF): ........................................................................... 33
9.4.2 2nd Normal Form (2NF): .......................................................................... 33
9.4.3 3rd Normal Form (3NF): .......................................................................... 34
9.5 COURSE ........................................................................................................ 34
9.5.1 1st Normal Form (1NF): ........................................................................... 34
9.5.2 2nd Normal Form (2NF): .......................................................................... 34
2 | P a g e
Scholarship Database Management System
9.5.3 3rd Normal Form (3NF): .......................................................................... 34
9.6 DEPARTMENTS ........................................................................................... 35
9.6.1 1st Normal Form (1NF): ........................................................................... 35
9.6.2 2nd Normal Form (2NF): .......................................................................... 35
9.6.3 3rd Normal Form (3NF): .......................................................................... 35
9.7 DONORS ....................................................................................................... 36
9.7.1 1st Normal Form (1NF): ........................................................................... 36
9.7.2 2nd Normal Form (2NF): .......................................................................... 36
9.7.3 3rd Normal Form (3NF): .......................................................................... 36
9.8 EMPLOYEES ................................................................................................ 37
9.8.1 1st Normal Form (1NF): ........................................................................... 38
9.8.2 2nd Normal Form (2NF): .......................................................................... 38
9.8.3 3rd Normal Form (3NF): .......................................................................... 40
9.9 EVENTS......................................................................................................... 45
9.9.1 1st Normal Form (1NF): ........................................................................... 45
9.9.2 2nd Normal Form (2NF): .......................................................................... 46
9.9.3 3rd Normal Form (3NF): .......................................................................... 47
9.10 FUNDS ....................................................................................................... 48
9.10.1 1st Normal Form (1NF): ......................................................................... 49
9.10.2 2nd Normal Form (2NF): ........................................................................ 49
9.10.3 3rd Normal Form (3NF): ........................................................................ 49
9.11 INSTALLMENT ........................................................................................ 50
9.11.1 1st Normal Form (1NF): ......................................................................... 50
9.11.2 2nd Normal Form (2NF): ........................................................................ 50
9.11.3 3rd Normal Form (3NF): ........................................................................ 51
9.12 ORGANIZATIONS.................................................................................... 51
9.12.1 1st Normal Form (1NF): ......................................................................... 51
9.12.2 2nd Normal Form (2NF): ........................................................................ 51
9.12.3 3rd Normal Form (3NF): ........................................................................ 52
9.13 PAYMENT ................................................................................................. 52
9.13.1 1st Normal Form (1NF): ......................................................................... 52
9.13.2 2nd Normal Form (2NF): ........................................................................ 52
9.13.3 3rd Normal Form (3NF): ........................................................................ 52
9.14 SCHOLARSHIP ......................................................................................... 53
9.14.1 1st Normal Form (1NF): ......................................................................... 53
3 | P a g e
Scholarship Database Management System
9.14.2 2nd Normal Form (2NF): ........................................................................ 53
9.14.3 3rd Normal Form (3NF): ........................................................................ 53
9.15 STUDENTS ................................................................................................ 54
9.15.1 1st Normal Form (1NF): ......................................................................... 55
9.15.2 2nd Normal Form (2NF): ........................................................................ 55
9.15.3 3rd Normal Form (3NF): ........................................................................ 55
10 ERD AFTER NORMALIZATION ................................................................... 58
11 SCRIPT .............................................................................................................. 61
12 DESCRIBE ______; ........................................................................................ 109
12.1 CONTACT ............................................................................................... 109
12.2 ADDRESS ................................................................................................ 109
12.3 BIRTH ...................................................................................................... 109
12.4 COURSE .................................................................................................. 109
12.5 CHILDREN .............................................................................................. 110
12.6 DEPARTMENTS ..................................................................................... 111
12.7 ORGANIZATION .................................................................................... 111
12.8 STUDENT ................................................................................................ 112
12.9 INCOME .................................................................................................. 113
12.10 EMPLOYEES ........................................................................................... 113
12.11 APPLICANTS .......................................................................................... 113
12.12 SPONSORS .............................................................................................. 114
12.13 EVENTS ................................................................................................... 115
12.14 DONORS .................................................................................................. 115
12.15 SCHOLARSHIP ....................................................................................... 116
12.16 ISTALLMENTS ....................................................................................... 116
12.17 PAYMENT ............................................................................................... 117
12.18 FUNDS ..................................................................................................... 117
13 SELECT ________ .......................................................................................... 119
13.1 CONTACT ............................................................................................... 119
13.2 ADDRESS ................................................................................................ 123
13.3 BIRTH ...................................................................................................... 125
13.4 COURSE .................................................................................................. 126
13.5 CHILDREN .............................................................................................. 127
13.6 DEPARTMENTS ..................................................................................... 128
13.7 ORGANIZATION .................................................................................... 128
4 | P a g e
Scholarship Database Management System
13.8 STUDENT ................................................................................................ 129
13.9 INCOME .................................................................................................. 130
13.10 EMPLOYEES ........................................................................................... 131
13.11 APPLICANTS .......................................................................................... 133
13.12 SPONSORS .............................................................................................. 133
13.13 EVENTS ................................................................................................... 134
13.14 DONORS .................................................................................................. 135
13.15 SCHOLARSHIP ....................................................................................... 135
13.16 ISTALLMENTS ....................................................................................... 135
13.17 PAYMENT ............................................................................................... 136
13.18 FUNDS ..................................................................................................... 136
14 Views ............................................................................................................... 139
14.1 SIMPLE VIEWS ...................................................................................... 139
14.1.1 PAYMENT_DETAILS ........................................................................ 139
14.1.2 FUND_DETAILS ................................................................................ 139
14.1.3 DONORS_INFO .................................................................................. 140
14.1.4 INSTALLMENT_TYPES .................................................................... 142
14.1.5 STUDENT_DETAIL ........................................................................... 142
14.1.6 SCHOLARSHIP_VIEW ...................................................................... 144
14.1.7 APP_VIEW1 ........................................................................................ 145
14.1.8 ORG_VIEW ......................................................................................... 146
14.1.9 ORG_VIEW2 ....................................................................................... 147
14.1.10 DEPT_VIEW1 ................................................................................... 148
14.1.11 DEPT_VIEW2 ................................................................................... 149
14.1.12 EVENT_VIEW .................................................................................. 150
14.1.13 SPONSOR_VIEW ............................................................................. 152
14.1.14 INCOME_VIEW ................................................................................ 153
14.1.15 COURSE_VU .................................................................................... 154
14.1.16 CHL_VU1 .......................................................................................... 155
14.1.17 CON_VU1 .......................................................................................... 156
14.1.18 CON_VU3 .......................................................................................... 157
14.1.19 CON_VU4 .......................................................................................... 158
14.1.20 CON_VU5 .......................................................................................... 160
14.1.21 CON_VU6 .......................................................................................... 161
14.1.22 ADDVU1 ........................................................................................... 162
5 | P a g e
Scholarship Database Management System
14.1.23 ADDVU2 ........................................................................................... 163
14.1.24 ADDVU3 ........................................................................................... 164
14.1.25 ADDVU4 ........................................................................................... 165
14.1.26 BIR_VU1 ........................................................................................... 167
14.1.27 BIR_VU2 ........................................................................................... 169
1 CITY_SIALKOT ............................................................................... 170
14.1.28 2 PAY_SCALE_15 ............................................................................ 171
14.1.29 3 PRE_MEDICAL ............................................................................. 171
14.2 COMPLEX VIEWS ................................................................................. 173
14.2.1 STUDENT_DETAILS ......................................................................... 173
14.2.2 EMPLOYEE_DETAILS ...................................................................... 176
14.2.3 APP_INFO ........................................................................................... 180
14.2.4 CHILDREN_DATA............................................................................. 182
14.2.5 DONOR_VIEW ................................................................................... 184
14.2.6 NAME_SIMILARITY ......................................................................... 186
14.2.7 STD_ORG_TYPE ................................................................................ 186
14.2.8 6 L_PHONENO ................................................................................... 187
14.3 SQL Queries ............................................................................................. 189
14.3.1 Query 1 ................................................................................................. 189
14.3.2 Query 2 ................................................................................................. 189
14.3.3 Query 3 ................................................................................................. 190
14.3.4 Query 4 ................................................................................................. 191
14.3.5 Query 5 ................................................................................................. 191
14.3.6 Query 6 ................................................................................................. 192
Query 7 .................................................................................................. 192
14.3.7 Query 8 ................................................................................................. 193
14.3.8 Query 9 ................................................................................................. 195
14.3.9 Query 10 ............................................................................................... 195
14.3.10 Query 11 ............................................................................................. 196
14.3.11 Query 12 ............................................................................................. 196
14.3.12 Query 13 ............................................................................................. 197
Query 14 ................................................................................................ 198
14.3.13 Query 15 ............................................................................................. 200
14.3.14 Query 16 ............................................................................................. 201
14.3.15 Query 17 ............................................................................................. 201
6 | P a g e
Scholarship Database Management System
14.3.16 Query 18 ............................................................................................. 202
14.3.17 Query 19 ............................................................................................. 203
14.3.18 Query 20 ............................................................................................. 205
14.3.19 Query 21 ............................................................................................. 206
14.3.20 Query 22 ............................................................................................. 207
15 USER_OBJECTS ............................................................................................ 208
16 USER_CONSTRAINTS ...................................................................................... 0
Table 1 Address Normalization ................................................................................... 23
Table 2 Applicants Normalization ............................................................................... 25
Table 3 Applicants After Normalization...................................................................... 26
Table 4 Applicants After Normalization...................................................................... 27
Table 5 Children Normalization .................................................................................. 27
Table 6 Children After Normalization ......................................................................... 28
Table 7Children After Normalization .......................................................................... 30
Table 8 Contact Normalization .................................................................................... 30
Table 9 Course Normalization ..................................................................................... 34
Table 10 Departments Normalization .......................................................................... 35
Table 11 Donors Normalization................................................................................... 36
Table 12 Employees Before Normalization ................................................................. 37
Table 13 Employees After Normalization ................................................................... 39
Table 14 Employees After Normalization ................................................................... 39
Table 15 Employees After Normalization ................................................................... 41
Table 16 Employees After Normalization ................................................................... 41
Table 17 Employees After Normalization ................................................................... 43
Table 18 Employees After Normalization ................................................................... 45
Table 19 Events Before Normalization........................................................................ 46
Table 20 Events After Normalization .......................................................................... 46
Table 21 Events After Normalization .......................................................................... 47
Table 22 Events After Normalization .......................................................................... 48
Table 23 Funds Before Normalization ......................................................................... 48
Table 24 Funds After Normalization ........................................................................... 49
Table 25 Funds After Normalization ........................................................................... 50
Table 26 Installment Normalization ............................................................................ 50
Table 27 Organizations Normalization ........................................................................ 51
Table 28 Payment Normalization ................................................................................ 52
Table 29 Scholarship Normalization ........................................................................... 53
Table 30 Students Before Normalization ..................................................................... 54
Table 31 Students After Normalization ....................................................................... 55
Table 32 Students After Normalization ....................................................................... 56
Table 33 Describe Contact ......................................................................................... 109
Table 34 Describe Address ........................................................................................ 109
Table 35 Describe Birth ............................................................................................. 109
Table 36 Describe Course .......................................................................................... 109
7 | P a g e
Scholarship Database Management System
Table 37 Describe Children ....................................................................................... 110
Table 38 Describe Departments ................................................................................. 111
Table 39 Describe Organization ................................................................................ 111
Table 40 Describe Student ......................................................................................... 112
Table 41 Describe Income ......................................................................................... 113
Table 42 Describe Employees ................................................................................... 113
Table 43 Describe Applicants .................................................................................... 113
Table 44 Describe Sponsors....................................................................................... 114
Table 45 Describe Events .......................................................................................... 115
Table 46 Describe Donors ......................................................................................... 115
Table 47 Describe Scholarship .................................................................................. 116
Table 48 Describe Installments .................................................................................. 116
Table 49 Describe Payment ....................................................................................... 117
Table 50 Describe Funds ........................................................................................... 117
Table 51 Select Contact ............................................................................................. 119
Table 52 Select Address............................................................................................. 123
Table 53 Select Birth ................................................................................................. 125
Table 54 Select Course .............................................................................................. 126
Table 55 Select Children ............................................................................................ 127
Table 56 Select Departments ..................................................................................... 128
Table 57 Select Organization ..................................................................................... 128
Table 58 Select Student ............................................................................................. 129
Table 59 Select Income .............................................................................................. 130
Table 60 Select Employees ........................................................................................ 131
Table 61 Select Applicants ........................................................................................ 133
Table 62 Select Sponsors ........................................................................................... 133
Table 63 Select Events ............................................................................................... 134
Table 64 Select Donors .............................................................................................. 135
Table 65 Select Scholarship ....................................................................................... 135
Table 66 Select Installments ...................................................................................... 135
Table 67 Select Payment ............................................................................................ 136
Table 68 Select Funds ................................................................................................ 136
Table 69 Describe PAYMENT_DETAILS ............................................................... 139
Table 70 Select PAYMENT_DETAILS .................................................................... 139
Table 71 Describe FUND_DETAILS ........................................................................ 140
Table 72 Select FUND_DETAILS ............................................................................ 140
Table 73 Describe DONORS_INFO ......................................................................... 141
Table 74 Select DONORS_INFO .............................................................................. 141
Table 75 Describe INSTALLMENT_TYPES ........................................................... 142
Table 76 Select INSTALLMENT_TYPES ............................................................... 142
Table 77 Describe STUDENT_DETAILS ................................................................ 143
Table 78 Select STUDENT_DETAILS ..................................................................... 143
Table 79 Describe SCHOLARSHIP_VIEW ............................................................. 145
Table 80 Select SCHOLARSHIP_VIEW .................................................................. 145
Table 81 Describe APP_VIEW1 ............................................................................... 146
Table 82 Select APP_VIEW1 .................................................................................... 146
8 | P a g e
Scholarship Database Management System
Table 83 Describe ORG_VIEW ................................................................................ 147
Table 84 Select ORG_VIEW ..................................................................................... 147
Table 85 Describe ORG_VIEW2 .............................................................................. 148
Table 86 Select ORG_VIEW2 ................................................................................... 148
Table 87 Describe DEPT_VIEW1 ............................................................................. 149
Table 88 Select DEPT_VIEW1 ................................................................................. 149
Table 89 Describe DEPT_VIEW2 ............................................................................. 149
Table 90 Select DEPT_VIEW2 ................................................................................. 150
Table 91 Describe EVENT_VIEW ............................................................................ 150
Table 92 Select EVENT_VIEW ................................................................................ 151
Table 93 Describe SPONSOR_VIEW ....................................................................... 152
Table 94 Select SPONSOR_VIEW ........................................................................... 152
Table 95 Describe INCOME_VIEW ......................................................................... 153
Table 96 Select INCOME_VIEW ............................................................................. 153
Table 97 Describe COURSE_VU .............................................................................. 154
Table 98 Select COURSE_VU .................................................................................. 154
Table 99 Describe CHL_VU1 ................................................................................... 155
Table 100 Select CHL_VU1 ...................................................................................... 156
Table 101 Describe CON_VU1 ................................................................................. 157
Table 102 Select CON_VU1 ..................................................................................... 157
Table 103 Describe CON_VU3 ................................................................................. 158
Table 104 Select CON_VU3 ..................................................................................... 158
Table 105 Describe CON_VU4 ................................................................................. 159
Table 106 Select CON_VU4 ..................................................................................... 159
Table 107 Describe CON_VU5 ................................................................................. 160
Table 108 Select CON_VU5 ..................................................................................... 160
Table 109 Describe CON_VU6 ................................................................................. 161
Table 110 Select CON_VU6 ..................................................................................... 162
Table 111 Describe ADDVU1 ................................................................................... 163
Table 112 Select ADDVU1 ....................................................................................... 163
Table 113 Describe ADDVU2 ................................................................................... 164
Table 114 Select ADDVU2 ....................................................................................... 164
Table 115 Describe ADDVU3 ................................................................................... 165
Table 116 Select ADDVU3 ....................................................................................... 165
Table 117 Describe ADDVU4 ................................................................................... 166
Table 118 Select ADDVU4 ....................................................................................... 166
Table 119 Describe BIR_VU1 ................................................................................... 167
Table 120 Select BIR_VU1 ....................................................................................... 167
Table 121 Describe BIR_VU2 ................................................................................... 169
Table 122 Select BIR_VU2 ....................................................................................... 169
Table 123 Select CITY_SIALKOT ........................................................................... 170
Table 124 Select PAY_SCALE_15 ........................................................................... 171
Table 125 Select PRE_MEDICAL ............................................................................ 171
Table 126 Describe STUDENT_DETAILS .............................................................. 173
Table 127 Select STUDENT_DETAILS ................................................................... 174
Table 128 Describe EMPLOYEE_DETAILS ........................................................... 177
9 | P a g e
Scholarship Database Management System
Table 129 Select EMPLOYEE_DETAILS ................................................................ 177
Table 130 Describe APP_INFO................................................................................. 180
Table 131 Select APP_INFO ..................................................................................... 181
Table 132 Describe CHILDREN_DATA .................................................................. 183
Table 133 Select CHILDREN_DATA ...................................................................... 183
Table 134 Describe DONOR_VIEW......................................................................... 185
Table 135 Select DONOR_VIEW ............................................................................. 185
Table 136 Select NAME_SIMILARITY ................................................................... 186
Table 137 STD_ORG_TYPE .................................................................................... 187
Table 138 Select L_PHONENO ................................................................................ 188
Table 139 SELECT Q1 .............................................................................................. 189
Table 140 SELECT Q2 .............................................................................................. 189
Table 141 SELECT Q3 .............................................................................................. 190
Table 142 SELECT Q4 .............................................................................................. 191
Table 143 SELECT Q5 .............................................................................................. 192
Table 144 SELECT Q6 .............................................................................................. 192
Table 145 SELECT Q7 .............................................................................................. 193
Table 146 SELECT Q8 .............................................................................................. 193
Table 147 SELECT Q9 .............................................................................................. 196
Table 148 SELECT Q10 ............................................................................................ 196
Table 149 SELECT Q11 ............................................................................................ 197
Table 150 SELECT Q12 ............................................................................................ 197
Table 151 SELECT Q13 ............................................................................................ 198
Table 152 SELECT Q14 ............................................................................................ 199
Table 153 SELECT Q15 ............................................................................................ 200
Table 154 SELECT Q16 ............................................................................................ 202
Table 155 SELECT Q17 ............................................................................................ 202
Table 156 SELECT Q18 ............................................................................................ 203
Table 157 SELECT Q19 ............................................................................................ 205
Table 158 SELECT Q20 ............................................................................................ 206
Table 159 SELECT Q21 ............................................................................................ 207
Figure 1 wapda organogram ........................................................................................ 12
file:///C:/Users/Qamar/Documents/Scholarship%20Database%20Management%20Database.docx%23_Toc468396527
10 | P a g e
Scholarship Database Management System
MODULE 1
11 | P a g e
Scholarship Database Management System
Water and Power Development Authority
(WAPDA)
1 WAPDA
1.1 INCORPORATION:
WAPDA was formed in 1958.
1.2 RESPONSIBILITIES
Major Responsibilities of WAPDA are:
To meet electricity demand of the country (except the metropolitan area of
Karachi) by installing new power plants, transmission lines and distribution systems.
To develop hydro storage projects (dams) for meeting irrigation and flood
mitigation requirements of the country and install hydro plants at these dams.
1.3 SEGMENTS
WAPDA till 1998 consisted of two segments:
1.4 POWER WING
For meeting electricity demand of the nation through generation,
transmission and distribution.
1.5 WATER WING
For developing hydro reservoirs for irrigation requirements.
12 | P a g e
Scholarship Database Management System
2 ORGANOGRAM
Figure 1 wapda organogram
13 | P a g e
Scholarship Database Management System
3 EXPERIENCE As the students of IBA PU we went to WAPDA with the reference of
Muhammad Imran HR additional director in NTDC. They guided us to the IT
department where we took the appointment and met the IT Director
Muhammad Shafiq. We asked all the questions that we have mentioned in our
questionnaire. They showed us their scholarship management system on their
systems. We asked for ERD of employees scholarship but unfortunately they
dont use oracle and finally they provided us with the scholarship data of their
employees.
14 | P a g e
Scholarship Database Management System
4 CASE SCENARIO: A scholarship provider institute wants to create data base system to manage
his data. This institute receives a huge amount of applications for scholarship.
Institute is running different types of scholarship program for different types of
people. Institute is currently providing scholarships to students of different
organizations. They mainly targeted for 5 levels top talented needy applicants of
Secondary, Intermediate, Graduation, Masters and PHD's of different
departments of different Govt. Organization of different Tehsils and District of
Punjab as well as other provinces. Scholarships classified in different categories.
Applicant may be a student or a child of a Government Employee. Those persons
who are getting scholarships should meet the specific criteria of the income level,
amount of utility bills, nature of residence, education level, age, marks percentage
etc. Institute has also launched exchange program to exchange their students with
different foreign universities. Institute is also providing scholarships to those
persons who are good at particular sports. Institute has large number of donors
who are giving funds to run different scholarship programs. By examining the file
system data, we identify that they offer one scholarship to one student at a time
but a student can take many scholarships in different times in different programs
and Student must be studying in Government Organization.
15 | P a g e
Scholarship Database Management System
5 ENTITIES: Students
Scholarships
Employees
Departments
Organizations
Contact
Address
Applicants
Donors
Events
Course
Children
Funds
16 | P a g e
Scholarship Database Management System
6 ASSOCIATIONS: Students Have Contact.
Students Paid Installment.
Students Have Address.
Students Study in Departments.
Students Enroll Course.
Students Have Organization.
Scholarships Have Installment.
Scholarships Funded Funds.
Employees Works in Organization.
Employees Got Scholarships.
Employees Have Children.
Departments Have Address.
Departments Have Contact.
Departments Have Address.
Organizations Receive Scholarships.
Organizations Have Address.
Organizations Have Contact.
Organizations Have Departments.
Applicants Apply Scholarships.
Donors Have Contact.
Donors Raise Funds.
Donors Attended Events.
17 | P a g e
Scholarship Database Management System
7 QUESTIONNAIRE 1. What is your scholarship management system in WAPDA?
2. How many types of scholarship you offer?
3. What type of scholarship you offer to employees children?
4. What is your criteria of providing scholarships to employees and their children?
5. How much budget WAPDA allocate for your scholarship system?
6. What is the relationship between salary of employees and scholarships?
7. Do you have proper database of scholarship management system?
8. How you maintain scholarship management system?
9. Is there any ERD of scholarship management system?
10. What problems are you facing while handling scholarship program file system?
11. On which scale do you offer scholarships to employees?
12. How much years of service is required for your employees to avail scholarship?
13. What is your merit for providing scholarship to the employees children?
14. For what particular programs you are providing scholarships?
15. Which institution you proposed to pursue studies on the basis of scholarship?
18 | P a g e
Scholarship Database Management System
8 ERD BEFORE
NORMALIZATION
19 | P a g e
Scholarship Database Management System
20 | P a g e
Scholarship Database Management System
MODULE 2
21 | P a g e
Scholarship Database Management System
22 | P a g e
Scholarship Database Management System
NORMALIZATION
23 | P a g e
Scholarship Database Management System
9 NORMALIZATION:
9.1 ADDRESS Table 1 Address Normalization
Address No House NO. Street No. City Zip code
SA1 10 30 Kalashakaku 56322
SA2 2 5 Chechawatni 55477
SA3 47 39 Multan 57920
SA4 17 6 Kotaddu 51534
SA5 40 14 Jehelum 53489
SA6 43 24 Mirpur 50036
SA7 16 39 Muzafarabad 54979
SA8 44 19 Pindi 51189
SA9 6 37 Sialkot 55869
SA10 15 18 Kalashakaku 55014
SA11 6 26 Chechawatni 54954
SA12 17 28 Multan 57648
SA13 24 17 Kotaddu 51296
SA14 46 41 Jehelum 59855
SA15 47 18 Mirpur 52815
DA1 40 30 Muzafarabad 53476
DA2 48 48 Pindi 56598
DA3 7 24 Sialkot 56417
DA4 40 17 Kalashakaku 59348
DA5 6 8 Chechawatni 56350
DA6 39 35 Multan 58579
DA7 5 15 Kotaddu 56858
DA8 29 40 Jehelum 50185
DA9 31 33 Mirpur 53172
DA10 38 16 Muzafarabad 57420
OA1 25 8 Pindi 58969
OA2 11 50 Sialkot 59081
OA3 11 4 Kalashakaku 56150
OA4 22 39 Chechawatni 59365
OA5 45 48 Multan 50235
OA6 40 2 Kotaddu 51868
OA7 19 34 Jehelum 56432
OA8 4 5 Mirpur 53615
24 | P a g e
Scholarship Database Management System
OA9 26 10 Muzafarabad 57867
OA10 50 14 Pindi 50582
EA1 19 46 Sialkot 51461
EA2 16 33 Kalashakaku 58977
EA3 36 35 Chechawatni 52884
EA4 34 17 Multan 59630
EA5 30 8 Kotaddu 52766
EA6 36 40 Jehelum 59726
EA7 33 49 Mirpur 50772
EA8 3 33 Muzafarabad 57502
EA9 50 22 Pindi 50307
EA10 25 15 Sialkot 53904
EA11 2 32 Kalashakaku 57213
EA12 3 35 Chechawatni 58315
EA13 9 31 Multan 54985
EA14 24 16 Kotaddu 58634
EA15 34 17 Jehelum 57383
AA1 35 9 Mirpur 52199
AA2 37 10 Muzafarabad 51477
AA3 49 45 Pindi 56866
AA4 44 12 Sialkot 59190
AA5 27 24 Kalashakaku 59106
AA6 10 44 Chechawatni 53174
AA7 13 4 Multan 58298
AA8 12 5 Kotaddu 52615
AA9 36 49 Jehelum 52515
AA10 16 10 Mirpur 52090
9.1.1 1st Normal Form (1NF):
Address No House NO. Street No. City Zip code
Its already in 1st Normal Form because it does not have REPEATING GROUPS or
ANOMLIES or DATA REDUNDENCIES and as well as it doesnt have COMPOSITE
PRIMARY KEY.
So, this table is already in 2nd Normal Form.
9.1.2 2nd Normal Form (2NF):
Address No House NO. Street No. City Zip code
25 | P a g e
Scholarship Database Management System
Its already in 2ND Normal Form because it does not have PARTIAL DEPENDENCY.
So, this table is already in 3RD Normal Form.
9.1.3 3rd Normal Form (3NF):
Address No House NO. Street No. City Zip code
Its already in 3RD Normalized Form because it does not have TRANSITIVE
DEPENDENCY.
So, this table is already in Normalized Form.
9.2 APPLICANTS Table 2 Applicants Normalization
Applicant
ID
First
name
Last
name
Ag
e
DO
B ID-CARD No
Contact
ID
Address
ID
AP001 Tooba Imran 19
21-
Mar-
1980
354977759376
5 AC1 AA1
AP002 Zubair Ayoob 23
11-
Sep-
1980
357594873661
2 AC2 AA2
AP003 Mariam Ali 22
25-
Jun-
1985
359112838334
9 AC3 AA3
AP004 Hassan Habib 20
3-
Dec-
1968
354340435663
9 AC4 AA4
AP005 Myra Sheikh 21
5-
May
-
1981
356704718144
4 AC5 AA5
AP006 Dabeer Mirza 22
13-
Jun-
1980
356912328267
7 AC6 AA6
AP007 Zohab Baig 24
15-
Apr-
1989
354881958282
7 AC7 AA7
AP008 Afia Sayed 17
15-
Jan-
1978
357323858246
8 AC8 AA8
AP009 Naila Ahmed 18
26-
Jan-
1966
359321163732
2 AC9 AA9
AP010 Umer Ilahi 25
5-
Oct-
1973
350584324736
2 AC10 AA10
26 | P a g e
Scholarship Database Management System
9.2.1 1st Normal Form (1NF):
Applicant ID First name Last name Age ID-CARD No Contact ID Address ID
Its already in 1st Normal Form because it does not have REPEATING GROUPS or
ANOMLIES or DATA RETUNDENCIES and as well as it doesnt have COMPOSITE
PRIMARY KEY.
9.2.2 2nd Normal Form (2NF):
Applicant ID First name Last name Age ID-CARD No Contact ID Address ID
Its already in 2ND Normal Form because it does not have PARTIAL DEPENDENCY.
9.2.3 3rd Normal Form (3NF):
Applicant ID First name Last name Age ID-CARD No Contact ID Address ID
9.2.3.1 Applicant Birth Details
Table 3 Applicants After Normalization
Age DOB
19 21-Mar-1980
23 11-Sep-1980
22 25-Jun-1985
20 3-Dec-1968
21 5-May-1981
22 13-Jun-1980
24 15-Apr-1989
17 15-Jan-1978
18 26-Jan-1966
25 5-Oct-1973
27 | P a g e
Scholarship Database Management System
9.2.3.2 Actual Applicant Table Table 4 Applicants After Normalization
Applicant ID First name Last name ID-CARD No Contact ID Address ID
AP001 Tooba Imran 3549777593765 AC1 AA1
AP002 Zubair Ayoob 3575948736612 AC2 AA2
AP003 Mariam Ali 3591128383349 AC3 AA3
AP004 Hassan Habib 3543404356639 AC4 AA4
AP005 Myra Sheikh 3567047181444 AC5 AA5
AP006 Dabeer Mirza 3569123282677 AC6 AA6
AP007 Zohab Baig 3548819582827 AC7 AA7
AP008 Afia Sayed 3573238582468 AC8 AA8
AP009 Naila Ahmed 3593211637322 AC9 AA9
AP010 Umer Ilahi 3505843247362 AC10 AA10
9.3 CHILDREN Table 5 Children Normalization
B-Form No
First
Name
Last
Name Age DOB
Gen
der Class
Sessio
n
355201520177
5 Ali
Muham
mad 25
3-Dec-
1995 Male
Fsc
Medical
2016-
2017
353890292584
4 Ehsaan
Muham
mad 25
11-Feb-
1992 Male Matric
2016-
2018
368316243188
9 Ehsaan
Mrs.
Anjum 22
10-Jul-
1991 Male
Fsc
Engineerin
g
2016-
2019
351378392190
8 Abid Liaqat 25
20-Sep-
1999 Male Class 8
2016-
2020
355062600285
0
Ehzazun
nisa
Mr.
Muham
mad 19
7-Mar-
1994
Fema
le
Fsc
Engineerin
g
2012-
2017
350661274701
4 Asif
Muham
mad 19
26-Jan-
1999 Male Class 5
2012-
2018
350521264761
6 Ehsaan Sajid 23
4-Sep-
1992 Male
Fsc
Medical
2013-
2017
356909627806
2 Ehsaan Rasheed 25
24-Oct-
1993 Male Class 8
2016-
2017
353983296418
1 Akbar
Muham
mad 25
5-Jan-
1997 Male
Fsc
Medical
2016-
2018
28 | P a g e
Scholarship Database Management System
365548222808
4 Akhtar Adnan 20
16-Jul-
1992 Male Bachelor
2016-
2015
353492990311
9 Qasim Abdul 20
21-Dec-
1994 Male Matric
2016-
2017
354036234526
9 Hamid Javed 21
11-Feb-
1993 Male
Fsc
Medical
2016-
2018
358241720636
4 Hasan Amjad 18
25-Sep-
1995 Male Class 8
2016-
2017
357571772671
7 Harris
Shoukat 21
27-Jul-
1991 Male
Fsc
Medical
2016-
2020
9.3.1 1st Normal Form (1NF):
Children B-
Form No
First
Name
Colum
n1
Last
Name Age DOB
Gend
er Class
Sessio
n
Its already in 1st Normal Form because it does not have REPEATING GROUPS or
ANOMLIES or DATA RETUNDENCIES and as well as it doesnt have COMPOSITE
PRIMARY KEY.
9.3.2 2nd Normal Form (2NF):
Children B-
Form No
First
Name
Colum
n1
Last
Name Age DOB
Gend
er Class
Sessio
n
Its already in 2ND Normal Form because it does not have PARTIAL DEPENDENCY.
9.3.3 3rd Normal Form (3NF):
Children B-
Form No
First
Name
Colum
n1
Last
Name Age DOB
Gend
er Class
Sessio
n
Its already in Normalized Form because it does not have TRANSITIVE
DEPENDENCY.
9.3.3.1 Children Birth details Table 6 Children After Normalization
Age Birth ID DOB
25 B022 3-Dec-1995
25 B023 11-Feb-1992
22 B024 10-Jul-1991
25 B025 20-Sep-1999
19 B026 7-Mar-1994
19 B027 26-Jan-1999
23 B028 4-Sep-1992
25 B029 24-Oct-1993
25 B030 5-Jan-1997
20 B031 16-Jul-1992
20 B032 21-Dec-1994
21 B033 11-Feb-1993
29 | P a g e
Scholarship Database Management System
18 B034 25-Sep-1995
21 B035 27-Jul-1991
30 | P a g e
Scholarship Database Management System
9.3.3.2 Actual Children Table Table 7Children After Normalization
Children B-Form
No First Name
Column
1 Last Name
Gende
r Class Session
3552015201775 Ali Muhammad Male Fsc Medical
2016-
2017
3538902925844 Ehsaan Muhammad Male Matric
2016-
2018
3683162431889 Ehsaan Mrs. Anjum Male
Fsc
Engineering
2016-
2019
3513783921908 Abid Liaqat Male Class 8
2016-
2020
3550626002850
Ehzazunni
sa
Mr.
Muhammad
Femal
e
Fsc
Engineering
2012-
2017
3506612747014 Asif Muhammad Male Class 5
2012-
2018
3505212647616 Ehsaan Sqjid Male Fsc Medical
2013-
2017
3569096278062 Ehsaan Rasheed Male Class 8
2016-
2017
3539832964181 Akbar Muhammad Male Fsc Medical
2016-
2018
3655482228084 Akhtar Adnan Male Bachelor
2016-
2015
3534929903119 Qasim Abdul Male Matric
2016-
2017
3540362345269 Hamid Javed Male Fsc Medical
2016-
2018
3582417206364 Hasan Jawed Male Class 8
2016-
2017
3575717726717 Harris
Shoukat Male Fsc Medical
2016-
2020
9.4 CONTACT Table 8 Contact Normalization
Contact
ID
Phone
No. Email ID
Landline
No. LinkedIn Id
DC1
3047355
867 alizahid@yahoo.com
41699060
44 Aliza hid
DC2
3231487
502 zainashraf@yahoo.com
41097754
75 Zain Ashraf
DC3
3303132
216 ahmedqureshi@yahoo.com
40203976
48 Ahmed Qureshi
DC4
3007351
600 hassanimtiaz@yahoo.com
40753888
40 Hassan imtiaz
31 | P a g e
Scholarship Database Management System
DC5
3080464
216 humzaawan@yahoo.com
40884301
62 Hamza awan
DC6
3063622
509 fahaddogar@yahoo.com
41209788
74 Fahad dogar
DC7
3303429
779 faizanahmed@yahoo.com
40341536
62 Faizan ahmed
DC8
3217613
512 azanraza@yahoo.com
40026096
58 Azan raza
DC9
3254506
323 umairamjad@yahoo.com
40980712
95 Umair amjad
DC10
3083498
278 usmanmalik@yahoo.com
41881252
42 Usman malik
AC1
3266588
294 toobaimran@yahoo.com
40188382
78 Tooba imran
AC2
3182039
083 zubairayoob@yahoo.com
41896607
80 Zubair ayoob
AC3
3217582
096 mariamali@yahoo.com
40343513
04 Mariam ali
AC4
3149853
041 hassanhabib@yahoo.com
40792772
71 Hassan habib
AC5
3174048
153 myrasheikh@yahoo.com
40390357
76 Myra sheikh
AC6
3128405
621 dabeermirza@yahoo.com
41163061
17 dabeer mirza
AC7
3093561
326 zohabbaig@yahoo.com
40416283
30 Zohab baig
AC8
3166234
116 afiasayed@yahoo.com
42345485
91 Afia sayed
AC9
3231837
718 nailaahmed@yahoo.com
41507588
58 Naila ahmed
AC10
3069348
535 umerilahi@yahoo.com
40081651
04 Umer ilahi
SC1
3193218
401
muhammmadbabarbasir@yahoo.co
m
42252718
69 Muhammad babar basir
SC2
3227270
588
muhammmadahmedhadi@yahoo.c
om
41965208
75 Muhammad ahmed hadi
SC3
3039315
671
muhammmadalifarhan@yahoo.co
m
40424190
26 Muhammad ali farhan
SC4
3286393
171
hafiz
muhammmadfahadfida@yahoo.co
m
41491812
15
hafiz muhammmad
fahad fida
SC5
3200479
114
muhammmadfaizanhasan@yahoo.c
om
40228975
26 Muhammad faizan hasan
SC6
3040076
705 muhammmadzainasif@yahoo.com
41396118
96 Muhammad zain asif
SC7
3057458
807 hafizhasandawar@yahoo.com
42339558
73 Hafiz hasan dawar
SC8
3138520
107
muhammmadhamzaabdul
hadi@yahoo.com
41851988
39
Muhammad Hamza
abdul hadi
32 | P a g e
Scholarship Database Management System
SC9
3298550
916
muhammmadmyrashakeel@yahoo.
com
41041270
60
muhammmadmyrashake
el
SC10
3212664
504
muhammmadmariamshahid@yaho
o.com
40908702
03
muhammmadmariamsha
hid
SC11
3326427
125
muhammmadfatimayousaf@yahoo
.com
40438790
27
muhammmadfatimayous
af
SC12
3014847
589
muhammmadiqrayasir@yahoo.co
m
41881434
78 muhammmadiqrayasir
SC13
3129246
496
muhammmadfaiqazohaib@yahoo.c
om
40700280
34
muhammmadfaiqazohai
b
SC14
3296205
659
hafiza
muhammmadasifakhaleel@yahoo.
com
41162667
01
hafiza
muhammmadasifakhalee
l
SC15
3070499
865
muhammmadridaramadan@yahoo.
com
41534719
87
muhammmadridaramada
n
EC1
3200982
569 muhammad nadeem@yahoo.com
41386937
03 muhammad nadeem
EC2
3303779
239 muhammad rafique@yahoo.com
41693947
78 muhammad rafique
EC3
3004198
334 mrs. anjum shahid@yahoo.com
40181159
54 mrs. anjum shahid
EC4
3157449
358 liaqat ali@yahoo.com
42288041
99 liaqat ali
EC5
3100355
775 mr muhammad ashraf@yahoo.com
40889895
34 mr muhammad Ashraf
EC6
3302589
086
muhammad azhar aslam
@yahoo.com
40946184
40 muhammad azhar aslam
EC7
3125843
807 sqjid inayat @yahoo.com
41429364
25 sqjid inayat
EC8
3075867
376 rasheed baig@yahoo.com
41544202
40 rasheed baig
EC9
3054222
931 muhammad sabir @yahoo.com
40351598
57 muhammad sabir
EC10
3046471
828 adnan sher@yahoo.com
42209272
42 adnan sher
EC11
3171634
799 abdul raees khan@yahoo.com
40203129
19 abdul raees khan
EC12
3169506
704 javedaslam@yahoo.com
41354435
19 javedaslam
EC13
3287031
306 muhaharnad akram@yahoo.com
41838864
33 muhaharnad akram
EC14
3055231
222 shoukatmahmood@yahoo.com
41563470
45 shoukatmahmood
EC15
3201743
520 munwarhussain@yahoo.com
42276755
43 munwarhussain
DC1
3210425
489 hr department@edu.pk
40953438
24 hr department
DC2
3075000
091 sales department@edu.pk
41004550
96 sales department
33 | P a g e
Scholarship Database Management System
DC3
3071137
026 finance department@edu.pk
41803569
08 finance department
DC4
3300269
995 it department@edu.pk
40978942
29 it department
DC5
3118345
532 iasdepartment@edu.pk
41831010
76 ias department
DC6
3008120
247 ibadepartment@edu.pk
41782947
19 iba department
DC7
3206341
249
customer service
department@edu.pk
41166178
40
customer service
department
DC8
3190143
476 haileydepartment@edu.pk
40691909
15 hailey department
DC9
3020634
140 masscomm .department@edu.pk
40711764
50 mass comm .department
DC10
3043272
807 rnddepartment@edu.pk
41453631
60 rnd department
OC1
3021031
731 punjabuniversity@gov.pk
42070327
62 punjab university
OC2
3028823
171 wapda@gov.pk
41032971
18 wapda
OC3
3145172
984 hijvariuni@gov.pk
41182638
42 hijvari uni
OC4
3327138
050 bnu@gov.pk
41415211
08 bnu
OC5
3027389
406 school@gov.pk
42100269
42 school
OC6
3079059
847 pel@gov.pk
40815347
92 pel
OC7
3121922
979 super asia@gov.pk
40164687
69 super asia
OC8
3275908
394 superior college@gov.pk
41742170
81 superior college
OC9
3034711
545 lums@gov.pk
41333127
88 lums
OC10
3324455
626 mirpuruni@gov.pk
41895849
50 Mirpur uni
9.4.1 1st Normal Form (1NF):
Contact ID Phone No. Email Landline No. LinkedIn Id
Its already in 1st Normal Form because it does not have REPEATING GROUPS or
ANOMLIES or DATA RETUNDENCIES and as well as it doesnt have COMPOSITE
PRIMARY KEY.
9.4.2 2nd Normal Form (2NF):
Contact ID Phone No. Email Landline No. LinkedIn Id
34 | P a g e
Scholarship Database Management System
Its already in 3RD Normal Form because it does not have PARTIAL DEPENDENCY.
9.4.3 3rd Normal Form (3NF):
Contact ID Phone No. Email Landline No. LinkedIn Id
Its already in Normalized Form because it does not have TRANSITIVE
DEPENDENCY.
9.5 COURSE Table 9 Course Normalization
Course ID Name Duration Domain
CR002 Human Recourse Management 47 Hu
CR003 COST Accounting 1 48 CO
CR004 Managerial Accounting 46 Ma
CR005 Information Technology 50 In
CR006 Organizational Behavior 45 Or
CR007 Strategic Management 49 St
CR008 Pak Studies 50 Pa
CR009 Arabic 47 AR
CR010 Sales 45 Sa
9.5.1 1st Normal Form (1NF):
Course ID Name Duration Domain
Its already in 1st Normal Form because it does not have REPEATING GROUPS or
ANOMLIES or DATA RETUNDENCIES and as well as it doesnt have COMPOSITE
PRIMARY KEY.
9.5.2 2nd Normal Form (2NF):
Course ID Name Duration Domain
Its already in 2ND Normal Form because it does not have PARTIAL DEPENDENCY.
9.5.3 3rd Normal Form (3NF):
Course ID Name Duration Domain
Its already in Normalized Form because it does not have TRANSITIVE
DEPENDENCY.
35 | P a g e
Scholarship Database Management System
9.6 DEPARTMENTS Table 10 Departments Normalization
Dept.
ID Dept. Name Dept. Head
Program
offer
Address No
(FK)
Contact ID
(FK)
D001 HR department Zahid Ali DA1 DC1
D002 Sales department Rauf Khan DA2 DC2
D003 Finance department Jassim Rauf DA3 DC3
D004 IT department Junaid Ali DA4 DC4
D005 IAS department Ahmad Ali B.S admin DA5 DC5
D006 IBA department Mariam Ali BBA DA6 DC6
D007
Customer service
department Zubair DA7 DC7
D008 Hailey department
Usman
dogar B.com DA8 DC8
D009 Mass Comm .department
Hassan
Habib M.S Comm DA9 DC9
D010 RND department
Tanveer
Baig DA10 DC10
9.6.1 1st Normal Form (1NF):
Dept. ID Dept. Name Dept. Head Program offer Address No (FK) Contact ID (FK)
Its already in 1st Normal Form because it does not have REPEATING GROUPS or
ANOMLIES or DATA RETUNDENCIES and as well as it doesnt have COMPOSITE
PRIMARY KEY.
So, this table is already in 2nd Normal Form.
9.6.2 2nd Normal Form (2NF):
Dept. ID Dept. Name Dept. Head Program offer Address No (FK) Contact ID (FK)
Its already in 3RD Normal Form because it does not have PARTIAL DEPENDENCY.
So, this table is already in 3RD Normal Form.
9.6.3 3rd Normal Form (3NF):
Dept. ID Dept. Name Dept. Head Program offer Address No (FK) Contact ID (FK)
Its already in Normalized Form because it does not have TRANSITIVE
DEPENDENCY.
So, this table is already in Normalized Form.
36 | P a g e
Scholarship Database Management System
9.7 DONORS Table 11 Donors Normalization
DONAR ID FIRST NAME LAST NAME EVENT ID (FK) Contact ID (FK)
D001 ALI ZAHID E001 DC1
D002 ZAIN ASHRAF E002 DC2
D003 AHMED QURESHI E003 DC3
D004 HASSAN IMTIAZ E004 DC4
D005 HUMZA AWAN E005 DC5
D006 FAHAD DOGAR E006 DC6
D007 FAIZAN AHMED E007 DC7
D008 AZAN RAZA E008 DC8
D009 UMAIR AMJAD E009 DC9
D010 USMAN MALIK E010 DC10
DO11 ARSHAD KHAN E011 DC11
9.7.1 1st Normal Form (1NF):
DONAR ID FIRST NAME LAST NAME EVENT ID (FK) Contact ID (FK)
Its already in 1st Normal Form because it does not have REPEATING GROUPS or
ANOMLIES or DATA RETUNDENCIES and as well as it doesnt have COMPOSITE
PRIMARY KEY.
So, this table is already in 2nd Normal Form.
9.7.2 2nd Normal Form (2NF):
DONAR ID FIRST NAME LAST NAME EVENT ID (FK) Contact ID (FK)
Its already in 3RD Normal Form because it does not have PARTIAL DEPENDENCY.
So, this table is already in 3RD Normal Form.
9.7.3 3rd Normal Form (3NF):
DONAR ID FIRST NAME LAST NAME EVENT ID (FK) Contact ID (FK)
Its already in Normalized Form because it does not have TRANSITIVE
DEPENDENCY.
So, this table is already in Normalized Form.
37 | P a g e
Scholarship Database Management System
9.8 EMPLOYEES Table 12 Employees Before Normalization
Emp
loye
e ID
(PK)
Firs
t
Na
me
La
st
Na
me
Empl
oyee
Type
Emp
loyee
Pay
Scale
S
a
l
a
r
y
Co
m
mi
ssi
on
Desig
nation
Nature
Of
Residen
ce
(Marla
s)
Amo
unt
of
utilit
y
bills
A
g
e
D
OB
ID-
CA
RD
No.
Mod
e of
Tran
spor
t
E00
1
Mu
ham
mad
Na
dee
m
Full-
Time
Empl
oyees
14 4
7
8
1
0
20
46
Senior
Clerk
16 4805 5
9
11-
Jun
-
19
90
359
139
489
266
5
Civic
E00
2
Mu
ham
mad
Raf
iqu
e
Part-
Time
Empl
oyees
10 4
8
5
0
9
48
81
Drafts
man
18 3080 5
2
20-
Ma
y-
19
73
359
181
039
933
4
Bike
E00
3
Mrs
.
Anj
um
Sh
ahi
d
Temp
orary
Empl
oyees
15 4
9
0
4
0
20
81
Teleco
m
Super
visor
6 2793 5
0
21-
De
c-
19
71
357
556
908
354
9
LTC
E00
4
Lia
qat
Ali Contr
actors
15 4
3
8
7
2
35
28
Manag
er
Teleco
m
15 4948 4
5
12-
Fe
b-
19
79
359
803
368
641
1
Point
E00
5
Mr.
Mu
ham
mad
As
hra
f
Perm
anent
15 4
0
4
3
6
33
47
Senior
Clerk
GM
(GSO)
16 2150 5
4
4-
Jan
-
19
72
351
685
284
733
3
Alto
VX
E00
6
Mu
ham
mad
Az
har
Asl
am
Activ
e
15 7
5
6
8
6
29
82
Financ
e
Manag
er
10 1157 3
0
21-
Ap
r-
19
77
357
330
523
927
1
ME
HRA
N
VX
E00
7
Sqji
d
Ina
yat
Perm
anent
14 6
0
1
2
0
14
53
C.E
(GSO)
12 2592 5
8
1-
Se
p-
19
74
358
825
372
636
2
ALT
O
VXR
E00
8
Ras
hee
d
Bai
g
Full-
Time
Empl
oyees
13 7
8
1
8
1
34
24
Senior
Clerk
6 1344 4
1
29-
De
c-
19
73
358
570
335
428
2
Alto
VX
E00
9
Mu
Sa
bir
Temp
orary
10 6
3
7
36
96
Chief
Engin
eer
16 2019 5
5
1-
De
c-
359
584
510
Metr
o
38 | P a g e
Scholarship Database Management System
ham
mad
Empl
oyees
2
8
(Telec
om)
19
81
420
1
E01
0
Adn
an
Sh
er
Part-
Time
Empl
oyees
17 7
4
4
0
7
43
58
Junior
Clerk
17 1005 3
1
9-
Au
g-
19
71
351
997
565
186
7
Alto
VXR
E01
1
Abd
ul
Ra
ees
Kh
an
Perm
anent
12 6
1
9
2
6
36
32
Financ
e
Direct
or
14 1370 5
6
2-
Oct
-
19
70
358
826
981
493
1
Civic
E01
2
Jav
ed
Asl
am
Temp
orary
Empl
oyees
11 5
9
4
6
8
24
52
Driver 12 2732 3
4
16-
Au
g-
19
75
354
641
221
956
1
ME
HRA
N
VX
E01
3
Mu
hah
am
mad
Ak
ra
m
Contr
actors
15 5
8
8
1
1
42
32
Gener
al
Manag
er(SO)
19 2180 3
0
22-
Fe
b-
19
90
352
765
483
375
1
Bike
E01
4
Sho
ukat
Ma
hm
oo
d
Part-
Time
Empl
oyees
13 4
5
0
1
0
44
35
Chief
Engin
eer
(GSO)
17 1357 3
6
19-
Jan
-
19
79
358
704
165
116
7
Hon
da
City
E01
5
Mu
nwa
r
Hu
ssa
in
Full-
Time
Empl
oyees
16 6
0
6
2
9
16
42
Manag
er
10 2292 5
1
12-
Se
p-
19
66
351
401
497
978
6
Bike
9.8.1 1st Normal Form (1NF):
Empl
oyee
ID
(PK)
Fir
st
Na
me
La
st
Na
me
Emp
loye
e
Typ
e
Empl
oyee
Pay
Scale
S
al
a
r
y
Co
m
mis
sio
n
Des
ign
ati
on
Nature
Of
Residenc
e
(Marlas)
Amou
nt of
utility
bills
A
g
e
D
O
B
ID-
CA
RD
No.
Mode
of
Tran
sport
Its already in 1st Normal Form because it does not have REPEATING GROUPS or
ANOMLIES or DATA RETUNDENCIES and as well as it doesnt have COMPOSITE
PRIMARY KEY.
So, this table is already in 2nd Normal Form.
9.8.2 2nd Normal Form (2NF):
Empl
oyee
Fir
st
La
st
Emp
loye
e
Empl
oyee
S
al
a
Co
m
mis
Des
ign
Nature
Of
Residenc
Amou
nt of
A
g
e
D
O
B
ID-
CA
Mode
of
39 | P a g e
Scholarship Database Management System
ID
(PK)
Na
me
Na
me
Typ
e
Pay
Scale
r
y
sio
n
ati
on
e
(Marlas)
utility
bills
RD
No.
Tran
sport
Its already in 3RD Normal Form because it does not have PARTIAL DEPENDENCY.
So, this table is already in 3RD Normal Form.
9.8.2.1 Employee salary Table 13 Employees After Normalization
Employee Pay Scale Salary Commission Designation
14 47810 2046 Senior Clerk
10 48509 4881 Draftsman
15 49040 2081 Telecom Supervisor
15 43872 3528 Manager Telecom
15 40436 3347 Senior Clerk GM (GSO)
15 75686 2982 Finance Manager
14 60120 1453 C.E (GSO)
13 78181 3424 Senior Clerk
10 63728 3696 Chief Engineer (Telecom)
17 74407 4358 Junior Clerk
12 61926 3632 Finance Director
11 59468 2452 Driver
15 58811 4232 General Manager(SO)
13 45010 4435 Chief Engineer (GSO)
16 60629 1642 Manager
9.8.2.2 Actual Employee Table Table 14 Employees After Normalization
Employe
e ID
(PK)
First
Name
Last
Name
Employee
Type
Nature Of
Residence
(Marlas)
Amount of
utility bills
A
g
e
DOB ID-
CARD
No.
Mode of
Transpor
t
E001 Muham
mad
Nadee
m
Full-Time
Employee
s
16 4805 5
9
11-
Jun-
1990
359139
489266
5
Civic
E002
Muham
mad
Rafiq
ue
Part-Time
Employee
s
18 3080 5
2
20-
May-
1973
359181
039933
4
Bike
E003 Mrs.
Anjum
Shahi
d
Temporar
y
Employee
s
6 2793 5
0
21-
Dec-
1971
357556
908354
9
LTC
E004 Liaqat Ali Contractor
s
15 4948 4
5
12-
Feb-
1979
359803
368641
1
Point
40 | P a g e
Scholarship Database Management System
E005 Mr.
Muham
mad
Ashra
f
Permanent 16 2150 5
4
4-Jan-
1972
351685
284733
3
Alto
VX
E006
Muham
mad
Azhar
Aslam
Active 10 1157 3
0
21-
Apr-
1977
357330
523927
1
MEHR
AN
VX
E007 Sqjid Inayat Permanent 12 2592 5
8
1-
Sep-
1974
358825
372636
2
ALTO
VXR
E008
Rashee
d
Baig Full-Time
Employee
s
6 1344 4
1
29-
Dec-
1973
358570
335428
2
Alto
VX
E009
Muham
mad
Sabir Temporar
y
Employee
s
16 2019 5
5
1-
Dec-
1981
359584
510420
1
Metro
E010 Adnan Sher Part-Time
Employee
s
17 1005 3
1
9-
Aug-
1971
351997
565186
7
Alto
VXR
E011 Abdul Raees
Khan
Permanent 14 1370 5
6
2-Oct-
1970
358826
981493
1
Civic
E012 Javed Aslam Temporar
y
Employee
s
12 2732 3
4
16-
Aug-
1975
354641
221956
1
MEHR
AN
VX
E013
Muhah
arnad
Akra
m
Contractor
s
19 2180 3
0
22-
Feb-
1990
352765
483375
1
Bike
E014
Shouka
t
Mahm
ood
Part-Time
Employee
s
17 1357 3
6
19-
Jan-
1979
358704
165116
7
Honda
City
E015
Munwa
r
Hussa
in
Full-Time
Employee
s
10 2292 5
1
12-
Sep-
1966
351401
497978
6
Bike
9.8.3 3rd Normal Form (3NF):
Empl
oyee
ID
(PK)
Fir
st
Na
me
La
st
Na
me
Emp
loye
e
Typ
e
Empl
oyee
Pay
Scale
S
al
a
r
y
Co
m
mis
sio
n
Des
ign
ati
on
Nature
Of
Residenc
e
(Marlas)
Amou
nt of
utility
bills
A
g
e
D
O
B
ID-
CA
RD
No.
Mode
of
Tran
sport
Its already in Normalized Form because it does not have TRANSITIVE
DEPENDENCY.
So, this table is already in Normalized Form.
41 | P a g e
Scholarship Database Management System
9.8.3.1 Employee birth details Table 15 Employees After Normalization
Age DOB
59 11-Jun-1990
52 20-May-1973
50 21-Dec-1971
45 12-Feb-1979
54 4-Jan-1972
30 21-Apr-1977
58 1-Sep-1974
41 29-Dec-1973
55 1-Dec-1981
31 9-Aug-1971
56 2-Oct-1970
34 16-Aug-1975
30 22-Feb-1990
36 19-Jan-1979
51 12-Sep-1966
9.8.3.2 Employee salary Table 16 Employees After Normalization
Employee Pay Scale Salary Commission Designation
14 47810 2046 Senior Clerk
10 48509 4881 Draftsman
15 49040 2081 Telecom Supervisor
15 43872 3528 Manager Telecom
15 40436 3347 Senior Clerk GM (GSO)
15 75686 2982 Finance Manager
14 60120 1453 C.E (GSO)
13 78181 3424 Senior Clerk
10 63728 3696 Chief Engineer (Telecom)
17 74407 4358 Junior Clerk
12 61926 3632 Finance Director
11 59468 2452 Driver
15 58811 4232 General Manager(SO)
13 45010 4435 Chief Engineer (GSO)
42 | P a g e
Scholarship Database Management System
16 60629 1642 Manager
43 | P a g e
Scholarship Database Management System
9.8.3.3 Actual Independent Employee Table Table 17 Employees After Normalization
Employe
e ID
(PK)
First
Name
Last
Name
Employee
Type
Nature Of
Residence
(Marlas)
Amount of
utility bills
ID-
CARD
No.
Mode of
Transpo
rt
E001 Muham
mad
Nadee
m
Full-Time
Employees
16 4805 359139
489266
5
Civic
E002
Muham
mad
Rafiqu
e
Part-Time
Employees
18 3080 359181
039933
4
Bike
E003 Mrs.
Anjum
Shahi
d
Temporary
Employees
6 2793 357556
908354
9
LTC
E004 Liaqat Ali Contractor
s
15 4948 359803
368641
1
Point
E005 Mr.
Muham
mad
Ashraf Permanent 16 2150 351685
284733
3
Alto VX
E006
Muham
mad
Azhar
Aslam
Active 10 1157 357330
523927
1
MEHRA
N VX
E007 Sqjid Inayat Permanent 12 2592 358825
372636
2
ALTO
VXR
E008
Rashee
d
Baig Full-Time
Employees
6 1344 358570
335428
2
Alto VX
E009
Muham
mad
Sabir Temporary
Employees
16 2019 359584
510420
1
Metro
E010 Adnan Sher Part-Time
Employees
17 1005 351997
565186
7
Alto
VXR
E011 Abdul Raees
Khan
Permanent 14 1370 358826
981493
1
Civic
E012 Javed Aslam Temporary
Employees
12 2732 354641
221956
1
MEHRA
N VX
E013
Muhah
arnad
Akra
m
Contractor
s
19 2180 352765
483375
1
Bike
E014
Shouka
t
Mahm
ood
Part-Time
Employees
17 1357 358704
165116
7
Honda
City
44 | P a g e
Scholarship Database Management System
E015
Munwa
r
Hussai
n
Full-Time
Employees
10 2292 351401
497978
6
Bike
45 | P a g e
Scholarship Database Management System
9.9 EVENTS Table 18 Employees After Normalization
Eve
nt
id Event
name
Event
date
Event
duration
Even
t
time
Spo
nso
r
ID
Sponsor
Name Location
No. Of
invitatio
ns
Chief of
guest
E0
01
SPORT
S
10/5/
2016 3 HRS
10:0
0
AM
Sp
00
1
ALI
AKBAR
GROUP IBA PU 50
YASIR
ASHRAF
E0
02
SCHOL
ARSHI
P
12/6/
2016 2 HRS
11:0
0
AM
Sp
00
2
MASTER
PAINTS
KINNAIRD
COLLEGE 60
AHMED
RAZA
E0
03
FUND
RAISIN
G
13/7/
16 5 HRS
8:00
AM
Sp
00
3
COCA
COLA G.C.U 70
AMIR
MEHMOO
D
E0
01
SPORT
S
15/8/
16
1 HRS
45
MINS
9:00
AM
Sp
00
1
HALLEB
FOODS F.C.C 80
WAQAR
ZAKA
E0
02
SCHOL
ARSHI
P
16/9/
16
4 HRS
20
MINS
12:0
0
AM
Sp
00
2
GOURME
T
WAPDA
OFFICE 40
NOUMAN
TARIQ
E0
03
FUND
RAISIN
G
20/9/
16 1 HR
7:00
PM
Sp
00
3 MCB IAS PU 30
ALI
KURESHI
E0
01
SPORT
S
23/9/
16 6 HRS
4:00
PM
Sp
00
6
SUPER
ASIA UCP 65
SAJJDA
NISAR
E0
02
SCHOL
ARSHI
P
27/9/
16
2 HRS
15
MINS
2:00
PM
Sp
00
4
HARDEE
S UMT 100
MALIK
RIAZ
E0
03
FUND
RAISIN
G
3/10/
2016
1 HR
20
MINS
1:00
PM
Sp
00
6
STYLO
SHOES
EXAMINAT
ION HALL
PU 90
MIAN
MANSHA
E0
01
SPORT
S
10/1
0/20
16
3 HRS
30
MINS
5:00
PM
Recommended