Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose we have a table, called S, where each row has all the following attributes in relation to the company, its departments, employees, and customers.

image text in transcribed

Suppose we have a table, called S, where each row has all the following attributes in relation to the company, its departments, employees, and customers. companyName, companyHeadquarterLocation, companyType, companyEmployeeNumber, departmentCode, departmentEmployeeNumber, staffiD, staffName, staffGender, staffAddress, customerID, customerName, customerDoB, customerAddress Among the attributes, companyName, departmentCode, staffID and customerID are unique respectively for each company, department, employee, and customer. There are no other uniqueness relationships among the attributes. In this context, answer the following questions: - List ALL the Candidate Keys for S, and based on the Candidate Keys, present ALL the Super Keys in a compact manner without enumerating each of them. You do not need to show how you found these keys. - List the Functional Dependencies in S (be sure to maximise RHS and minimise LHS). - Normalise the relational schema of S from UNF to BCNF. Indicate your reasoning and explanations at each step; giving only the decompositions is not sufficient

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Accounting And Auditing Research And Databases Practitioner's Desk Reference

Authors: Thomas R. Weirich, Natalie Tatiana Churyk, Thomas C. Pearson

1st Edition

1118334426, 978-1118334423

More Books

Students also viewed these Databases questions

Question

How does Accounts Receivable link Revenue and Cash?

Answered: 1 week ago

Question

What is your role within these groups?

Answered: 1 week ago