Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 3 ( a ) Explain the function of the two main types of keys in relational databases. Primary Key and Foreign key. ( b

QUESTION 3
(a) Explain the function of the two main types of keys in relational databases. Primary Key and Foreign key.
(b) The following is an extract of data from an online movie database. Convert the table into First Normal form:
\table[[\table[[Customer],[ID]],\table[[Customer],[Name]],Movies rented,Director],[1,John Jones,\table[[Yesterday],[Aladdin]],\table[[Danny Boyle],[Guy Ritche]]],[2,Mark Smith,\table[[Captain Marvel],[Rocketman]],\table[[Anna Boden],[Dexter Flecther]]],[3,Stella Murphy,\table[[A star is born],[Incredibles 2],[Toy story 4]],\table[[Bradley Cooper],[Brad Bird],[Josh Cooley,],[Jonas Rivera]]]]
(c) Based on the data in the table, explain how you would restructure the table into 3NF. Mention any interim stages of normalisation if they exist. The normalised data is not required, only the normalised structures.
image text in transcribed

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