Question: Question 2 ( 8 marks ) The relational database below contains two related tables - Painting and Painter in a museum. Table structure and design
Question marks
The relational database below contains two related tables "Painting" and "Painter" in a museum. Table structure and design for 'painting' is below:
tableField Name,Data Type,tableDescription OptionalpaintingcodeShort Textpainting ocde,primary key
Actual sample data incomplete for 'painting' table is below:
tabletablepaintingcodetablepaintingtitletablepaintingboughtDatetablepaintingtypetablepaintingweighttablepainting costtablepaintingmaintainDatetablepaintercodeaaa,P$bbbG$cccM$eee,B$jij,M$sdgO$ewt,I,$
Table structure and design for 'painter' is below:
tableField Name,Data Type,Description Optionalpaintercode,ahort Text,code of painter primary keypainterlnameShort Text,last name of painter,painterfirstname,Short Text,first name of painter,painterinitial,Short Text,initial of painter,painterareacode,Short Text,area code of painter,painterphone,Short Text,phone number of painter,
Actual sample data incomplete for 'painter' table is below:
tablepainterpainter,tablepaintercodeIname,firstname,tablepainterinitial
a From the above data, what type of relationships: onetoone, onetomany, or manytomany, do the above two tables have? Explain your answer.
marks
b The above database contains an error in the data. Identify and describe this error.
marks
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
