Map the following ER diagram into a relational database schema diagram. You should take into account all the constraints in the ER diagram. Underline the primary key of each relation, and show each foreign key as a directed arrow from the referencing attribute(s) to the referenced relation. COffice CName CPhone COLLEGE DEAN Rank IOffice Id IName IPhone INSTRUCTOR (1,1) (0,1) (0,N) CStartDate (0,1) (0,N) CHAIR (1,1) ADMINS (1,1) MName (1,1) FName LName EMPLOYS Sld SName DName (0,N) DOB Addr DCode DEPT HAS STUDENT Phone DOffice (O,N) (0,1) Major DPhone (0,N) (0,N) Grade TEACHES TAKES OFFERS (5,N) (1,1) (1,1) Secld CCode COURSE SECS SECTION SecNo Credits (0,N) (1,1) Sem CoName DaysTime Year CDesc CRoom Level Bldg RoomNo

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 3TD
icon
Related questions
Question

map the following ER diagram into a relational database schema diagram. you should take into account all the constraints in the ER diagram. Underline the primary key of each relation, and show each foreign key as a directed arrow from the referencing attributes (s) to the referenced relation.

 

NOTE: Need relational database schema diagram

Map the following ER diagram into a relational database schema diagram. You should take into account all the constraints in the ER diagram.
Underline the primary key of each relation, and show each foreign key as a directed arrow from the referencing attribute(s) to the referenced
relation.
COffice
CName
CPhone
COLLEGE
DEAN
Rank
IOffice
Id
IName
IPhone
INSTRUCTOR
(1,1)
(0,1)
(0,N)
CStartDate
(0,1)
(0,N)
CHAIR
(1,1)
ADMINS
(1,1)
MName
(1,1)
FName
LName
EMPLOYS
Sld
SName
DName
(0,N)
DOB
Addr
DCode
DEPT
HAS
STUDENT
Phone
DOffice
(O,N)
(0,1)
Major
DPhone
(0,N)
(0,N)
Grade
TEACHES
TAKES
OFFERS
(5,N)
(1,1)
(1,1)
Secld
CCode
COURSE
SECS
SECTION
SecNo
Credits
(0,N)
(1,1)
Sem
CoName
DaysTime
Year
CDesc
CRoom
Level
Bldg
RoomNo
Transcribed Image Text:Map the following ER diagram into a relational database schema diagram. You should take into account all the constraints in the ER diagram. Underline the primary key of each relation, and show each foreign key as a directed arrow from the referencing attribute(s) to the referenced relation. COffice CName CPhone COLLEGE DEAN Rank IOffice Id IName IPhone INSTRUCTOR (1,1) (0,1) (0,N) CStartDate (0,1) (0,N) CHAIR (1,1) ADMINS (1,1) MName (1,1) FName LName EMPLOYS Sld SName DName (0,N) DOB Addr DCode DEPT HAS STUDENT Phone DOffice (O,N) (0,1) Major DPhone (0,N) (0,N) Grade TEACHES TAKES OFFERS (5,N) (1,1) (1,1) Secld CCode COURSE SECS SECTION SecNo Credits (0,N) (1,1) Sem CoName DaysTime Year CDesc CRoom Level Bldg RoomNo
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning