Final Exam Summer 2020:
This exam consist of 3 parts. This is Part 1. Write your answer in one pdf or docx format or type them here.
I. Assuming the schema for a database,
employee (employee-name, street, city)
works (employee-name, company-name, salary)
company (company-name, city)
manages (employee-name, manager-name)
give SQL queries for the following questions, assuming a person can have more than one job and a company can exists in more than one city:
1) A list of the names of those employees who work for the Google.
2) A list of the names and cities of residence for those employees who work for Google.
3) A list of the names, streets and cities of residence for those employees who work for Google and earn more than $250000 a year.
4) A list of the names of those employees who live in the same city as the company for which they work.
5) A list of the names of those employees who live in the same city and on the same street as their managers.
6) A list of the names of those employees who do not work for Google.
7) A create statement for the table works, including the keys.
Part 2
Final Exam Summer 2020:
This exam consist of 3 parts. This is the 2nd part Write your answer in one pdf or docx format.
II. Write a 1200-2000 words essay about the attribute closure algorithm studied in slides, reproducing the algorithm and describing it line by line with its logic and applications to the detection of candidate keys. The essay should contain the following sections:
a) Motivation
b) The algorithm reproduced from slides
c) A line by line description of its logic and complexity
d) Exemplify computing the attribute closure (C,D)+ for the following problem:
R=(A,B,C,D,E)
F={B->A; C->A; DE->AC; E->B }
e) Exemplify the process of finding and proving a candidate key for the problem at (d)
f) Describe applications of the algorithm to other problems
part 3
Final Exam Summer 2020:
This exam consist of 3 parts, this being the 3rd part, and is personalized. Write your answer in one pdf or docx format.
III. Write a 1000 word essay, reproducing the corresponding algorithm or definition and describing it line by line with its logic and applications, for the following personalized topic (find the topic associated with your name).
*Functional Dependencies closure*
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more