Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Convert each of the following conceptual schemas into a relational schema. Be su

ID: 3669367 • Letter: C

Question

Convert each of the following conceptual schemas into a relational schema. Be sure to list all the tables and attributes, and clearly specify primary keys and foreign key references. All answers must be typed.

Note: Use proper notation when listing tables in your relational schema. For example:

Instructor (InstructorID, Lname, Fname, Office)

Course (CourseID, Title, Credits, InstructorID)

InstructorID is a foreign key references Instructor.InstructorID

You could also use dash underline to represent a foreign key if the foreign key has the same name as the primary key it references to.

RUNNER MARATHON Participates_in Race ID Location Date Runner ID Name Gender Age Time Position

Explanation / Answer

As per Given in problem statement:

MARATHON(Race_ID (primary key), Location, Date)

MARATHON is having three keys among Race_ID is primary key.

RUNNER(Runner_ID (primary key), Name, Gender, Age)

RUNNER is having 4 keys among Runner_ID is primary key

Defining a relation between MARATHON and RUNNER :

Participates_in(Time, Position, Race_ID(foreign key w.r.s MARATHON), Runner_ID(foreign key w.r.s RUNNER))

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote