Question: 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.
 QUESTION 3 (a) Explain the function of the two main types

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!