Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For a normalization process in SQL i need to perform the following relations. Showing the following steps for each relation: First show the candidate keys

For a normalization process in SQL i need to perform the following relations. Showing the following steps for each relation:

First show the candidate keys from the original relation.

second Show the functional dependencies from the original relation.

Is any determinant not a candidate key? If so, show the following:

Lastly the referential integrity

The new normalized relations.

The primary key in each new relation.

The foreign keys in the new relations.

The referential integrity constraints for the foreign keys.

Relation 1: Child in a traditional family with a mother and father.

CHILD (LastName, MomName, MomSSN, DadName, DadSSN, ChildName, ChildSSN)

Assumptions:

Families usually have more than one child.

Everyone in a family has the same last name.

Each person has a unique Social Security Number (SSN).

Relation 2: Relationships between parents and children in modern families.

RELATIONSHIP (ParentSSN, ParentLastName, ParentFirstName, Relationship, ChildSSN, ChildLastName, ChildFirstName)

Assumptions:

Each parent may have different relationships with their different children.

The relationships can be biological, surrogate, adoptive, step, foster, or guardian.

Each child can have one or more parents, possibly three or more.

Each person has a unique Social Security Number (SSN).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

who is hero of DSP ?

Answered: 1 week ago