Question: QUESTION 3 ( a ) Explain the function of the two main types of keys in relational databases. Primary Key and Foreign key. ( b
QUESTION
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:
tabletableCustomerIDtableCustomerNameMovies rented,DirectorJohn Jones,tableYesterdayAladdintableDanny BoyleGuy RitcheMark Smith,tableCaptain MarvelRocketmantableAnna BodenDexter FlectherStella Murphy,tableA star is bornIncredibles Toy story tableBradley CooperBrad BirdJosh Cooley,Jonas Rivera
c Based on the data in the table, explain how you would restructure the table into Mention any interim stages of normalisation if they exist. The normalised data is not required, only the normalised structures.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
