What is the key for schema

Assignment Help Database Management System
Reference no: EM131960186

A. Given the relational tables as follows:

SHIP(Shipname, Captain) CREW(Crewname, Hometown, Shipname) GROWS(Hometown, Flower) ALLERGIES(Crewname, Flower)

Please use SQL statement to construct the following queries:

(You are not supposed to use any aggregation functions such as count(), sum(), etc.; you are assumed that you do not know the data values of Shipname, Captain, Crewname, Hometown, Flower, etc. in the database table when you query the database table).

a. For each crew, if the crew is allergic to no flowers that grow on his/her hometown, then list the crew's name.

b. For each crew, if the crew is allergic to all flowers that grow on his/her hometown, then list the crew's name.

c. For each crew, if the crew is allergic only to the flowers that grow on their hometown, then list the crew's name.

d. For each crew, if the crew is allergic to exactly the same flowers that his/her captain is allergic to, then list the crew's name.

B. Explain how functional dependencies can be used to indicate that:

a.) A one-to-one relationship set exists between entity sets advisor and student. b.) A one-to-many relationship set exists between entity sets advisor and student.

C. Given the relational schema R, where X and Y are attribute sets such as: X ⊆ R and Y ⊆ R, please elaborate the meaning of the functional dependencies such as: ø → Y and X → ø.

D. Let F consists of the following functional dependencies for relation schema R(ABCDEG) as follows:

AB → C

A → B

B → A

C → A

BC → D

ACD → B

D → EG

BE → C

CG → BD

CE → AG

a. Find the minimal cover of F (minimize the functional dependency set F).

b. What is the key for schema R(ABCDEG)?

Verified Expert

In this assignment, we have drawn ERD diagram according to given data from the sample of series of data from the report which er have used for the report.We have addressed all aspect of the report in the diagram,their script to create the database for the company and at last we have designed queries for the company.

Reference no: EM131960186

Questions Cloud

Compute the annual depreciation on the new equipment : Assuming that depreciation is to be computed on the straight-line basis, compute the annual depreciation on the new equipment that should be provided
Determine the puc of the common shares : Darlene Saunders has operated an unincorporated business for over 10 years. Determine the PUC of the common shares received by Darlene in the transfer
What can be the possible end goal of dos : How can an organization prepare its employees to help prevent malware from infiltrating computers and organization networks?
Research the emerging enterprise network applications : Write a brief synthesis and summary of the two articles. How are the topics of the two articles related? What information was relevant and why?
What is the key for schema : CISC 660 Database Management Systems - What is the key for schema and Find the minimal cover of F
Calculate the net rental income for each of the two years : Calculate the Net Rental Income for each of the two years 2015 and 2016 Also, determine John Johnson' UCC balances on January 01, 2017
Compare and contrast behavioral goal and soft goals : Compare and contrast behavioral goal and soft goals. Provide four examples to support your points.
Building a goal model of a system you are designing : The textbook provides fifteen heuristic rules, tips, and common refinement patterns that can be applied during the goal model building process.
In what ways does the journey of august king succeed : In what ways does The Journey of August King succeed or fail in presenting a valid reconstruction of the 1800s?

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd