Entity Relational Diagram.
Entity Relational Diagram.
School of business
Media and
communication
Environmental
management and
science
Departmen Faculty_id
t _head
(FK)
Mr. A
_
11223
66512
54254
BELONGS TO
Department_no. Faculty_id
Department_name
001
002
003
11223
66512
54254
School of business
School of business
Media and
communication
FACULTY TABLE
Faculty_id
Faculty_name Faculty_ad
(PK)
dress
11223
Mr. U
Gulshan
...
Department_
no.(FK)
001
66512
54254
Ms. N
Mr. O
Malibagh
Badda
002
003
...
DEPARTMENT TABLE
Department Department_na Departmen Major_subje
_no. (PK)
me
t _head
ct (FK)
001
School of business
Mr. A
HRM
002
Media and
_
MIS
003
communication
Environmental
management and
science
CMN
OFFERS
Department_no. Major_subject
001
HRM
advisor
Mr. U
002
003
Ms. N
Mr. O
MIS
CMN
MAJOR TABLE
Major_subj Major_depart Major_faculty
ect
ment
School of
Mr. U
HRM
MIS
CMN
business
School of
business
Media and
communication
Department_
no. (FK)
001
Ms. N
002
Mr. O
003
__________________________________________________
STUDENT TABLE
Student Student
_id
_name
Mr. S
1110258
Ms. X
1112054
1200446 Mr. V
Student_ Major_
major
subject
HRM
HRM
MIS
MIS
CMN
CMN
Major_subject
(FK)
HRM
MIS
CMN
MAJORS IN
Student_id
Major_subject
Major_
department
1110258
1112054
1200446
HRM
MIS
CMN
School of business
School of business
Media and
communication
MAJOR TABLE
Major_subje Major_departm Major_
ct
ent
faculty
School of business
Mr. U
HRM
School of business
Ms. N
MIS
Media and
Mr. O
CMN
Student_id(FK)
1110258
1112054
1200446
communication
___________________________________________________
FACULTY TABLE
Faculty_id
Faculty_name Faculty_ ...
(PK)
address
11223
Mr. U
Gulshan
66512
Ms. N
Malibagh
54254
Mr. O
Badda
...
Major_subject
(FK)
HRM
MIS
CMN
ADVISES
Faculty_id (PK)
11223
66512
54254
Major_subject
HRM
MIS
CMN
Minor_subject
ACN
ENV
MIS
MAJOR TABLE
Major_subject(P Major_department Major_ Faculty_id
K)
faculty
(FK)
School of business
Mr. U
11223
HRM
School of business
Ms. N
66512
MIS
Media and
Mr. O
54254
CMN
communication
FACULTY TABLE
Faculty_id
Faculty_name Faculty_ ...
(PK)
address
11223
Mr. U
Gulshan
66512
Ms. N
Malibagh
54254
Mr. O
Badda
...
Classroom_no
.(FK)
6002
4010
2025
TEACHES
Faculty_id (PK)
11223
66512
54254
Classroom_no. Student_enrolled
6002
50
4010
65
2025
35
CLASS TABLE
Classroom_no.(PK) Class_scedule Class_capacity Faculty_id
(FK)
11223
6002
MW 080050
0930
66512
4010
ST 1700-1830
25
54254
2025
MW 134035
1510
___________________________________________________
COURSE TABLE
Course_id Course_subject
Course_
Classroom_no.(FK)
(PK)
department
School of
302
HRM
6002
405
MIS
201
CMN
business
School of
business
Media and
communication
4010
2025
HAS
Classroom_no.
6002
4010
2025
Course_id
302
405
201
Student_Id
1110258
1112054
1200446
CLASS TABLE
Classroom_no.(PK) Class_scedule Class_capacity Course_id(FK)
6002
MW 080050
302
0930
4010
ST 1700-1830
25
405
2025
MW 134035
201
1510
_________________________________________________
STUDENT TABLE
Student_i Student_
d(PK)
name
Mr. S
1110258
Ms. X
1112054
Mr. V
1200446
6002
MIS
MIS
4010
CMN
CMN
2025
TAKES
Student_id
1110258
1112054
1200446
Classroom_no. Course_section
6002
1
4010
2
2025
3
CLASS TABLE
Classroom_n Class_scedul Class_capacit
o.(PK)
e
y
6002
MW 080050
0930
4010
ST 170025
1830
Student_id(
FK)
1110258
1112054
2025
MW 13401510
35
1200446