Answered step by step
Verified Expert Solution
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
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started