Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following relation schema for table R: R(ENo,DNo,PNo,EName,DName,PName,Edob,PCity,PCountry,hours,rate) Attributes starting with E refer to Employees, those starting with D refer to Departments, and those

Consider the following relation schema for table R: R(ENo,DNo,PNo,EName,DName,PName,Edob,PCity,PCountry,hours,rate) Attributes starting with E refer to Employees, those starting with D refer to Departments, and those with P to Projects. Employees, Departments, and Projects are identi?ed by unique numbers. The number of hours and hourly rate of pay for an employee to carry out a project are determined by himself/herself and the project. There may be multiple projects that are conducted in a department and multiple departments can be involved in a single project as well. Any employee can be a?liated with a few di?erent departments and work in multiple projects at the same time. A project may involve multiple employees. Names for employees, departments and projects are not generally unique. A project will only be conducted in a single city. Multiple cities from the same country may appear in the table, however, cities are uniquely named within and across all countries. Answer the following questions:

(b) Identify the candidate key(s) of R based on the Functional Dependencies. You need to use the concept of attribute closure to identify the key(s). Intermediate steps in this process should be detailed.

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_2

Step: 3

blur-text-image_3

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

Big Data Systems A 360-degree Approach

Authors: Jawwad ShamsiMuhammad Khojaye

1st Edition

0429531575, 9780429531576

Students also viewed these Databases questions