Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assigment 4 ( 4 5 pts ) 2 0 2 4 S - BAM - 2 0 0 4 - OTT 0 1 SQL and

Assigment 4(45pts)
2024S-BAM-2004-OTT01 SQL and Data Analysis
Jared Capaldi
May 28,2024
Question 1(Normalization)(18pts)
The teacher at the local nursery school wants to create a database of the children and their pets.
Some children are siblings and share the same pets. For example, Heather and Lola Jones are sisters that share Thomas the cat and Peter the rabbit. Also, two pets can have the same name, such as Rex the dog and Rex the cat. The teacher has created the following list:
\table[[Student ID,Name,Age,Pet Name,Breed,Type],[102,Heather Jones,8,\table[[Thomas],[Peter]],\table[[Siamese],[Jersey Wooly]],\table[[Cat],[Rabbit]]],[105,Rachel Smith,10,\table[[\table[[Fluff],[Rex]]]],\table[[Persian],[Collie]],\table[[Cat],[Dog]]],[101,Jimmy Johnson,11,\table[[Baxter],[Mandy]],\table[[Hound],[Siamese]],\table[[Dog],[Cat]]],[104,Lola Jones,10,\table[[Thomas],[Peter]],\table[[Siamese],[Jersey Wooly]],\table[[Cat],[Rabbit]]],[106,Peter Allen,9,\table[[Baxter],[Ralph]],\table[[Beagle],[Beagle]],\table[[Dog],[Dog]]],[103,Lilly Sinclair,11,\table[[\table[[Rex],[Max]]]],\table[[Bengal],[Siamese]],\table[[Cat],[Cat]]]]
Complete the following:
Convert table to 1NF and create relational schema (tabular and text format): (6pts)
a) Each attribute (cell) contains a single value.
b) Identify the primary key.
Convert to 2NF: (6pts)
a) Identify the partial key dependencies.
b) Convert tables to 2NF and create relational schema (tabular and text format).
Convert to 3NF: (6pts)
a) Eliminate transitive dependencies where non-key attributes are dependent on non-key attributes.
b) Convert tables to 3NF and create relational schema (tabular and text format)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Understanding Databases Concepts And Practice

Authors: Suzanne W Dietrich

1st Edition

1119827949, 9781119827948

More Books

Students also viewed these Databases questions