Answered step by step
Verified Expert Solution
Question
1 Approved Answer
c) Table 1, 2 and 3 show the data in a local IT learning academy that is famous for various computer learning courses. Because
c) Table 1, 2 and 3 show the data in a local IT learning academy that is famous for various computer learning courses. Because of its popularity, there are increasing number of students enrol in the academy. Since then, the academy needs an efficient automated data storage, hence you are required to determine relational keys to ensure each row in the table is uniquely identifiable. Table 1: STUDENT table STUDENT_IC STUDENT_ID FIRST_NAME LAST_NAME EMAIL COURSE_ID 80193939979 202587788 40122566748 202575526 20164723670 202552244 Ahmad Ali AA@gmail.com 40 Haqiem Wany Rosly haqiem@gmail.com 40 Hazwan wany@gmail.com 50 10108990074 202536987 Haliza Husni Ha@gmail.com 50 80116756736 202512369 90137476323 202533969 50143670971 202574563 Heechul Kim James Reece heechul@gmail.com 40 james@gmail.com 20 Canos Sergi Ola21@gmail.com 20 20 Table 2: COURSE table COURSE_ID 10 20 30 40 50 60 COURSE_NAME Networking Software Developer Web Designer Database Developer Data Analyst IT Professional Table 3: STAFF table STAFF_ID STAFF_NAME COURSE ID 101 Ronaldo 10 102 Vardy 30 103 Toney 60 104 Jimenez 20 105 106 Kane Lukaku 40 50 i) Identify THREE (3) possible superkeys, TWO (2) candidate keys and primary key(s) for the STUDENT table. Justify your answer. (6 marks) ii)Do the tables display both entity integrity and referential integrity? Answer YES or NO, and then explain your answer for each table. (6 marks)
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