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

  Find all governors general of australia

Find all Governors General of Australia who were Barons at the time and Restrict your query to Governors General who were Barons at the time of their appointment

  Create views from databases

The view should have columns for magazine id and count

  Write the 10 cardinalities for entity relationship diagram

Write the 10 cardinalities that are appropriate for the ERD (Entity Relationship Diagram)

  Draw the corresponding entity-relationship diagram

Design an entity-relationship schema that most correctly and most completely captures the constraints expressed in the above description of the VINO application. Draw the corresponding entity-relationship diagram.

  Problem 1for the normal form game below solve for all nash

problem 1for the normal form game below solve for all nash equilibria and provide a justification for players

  Activity-based costing to assign overhead costs to products

How much overhead cost would be assigned to each of the two products using the company's activity-based costing system

  Create a pie chart to show initial cost totals by department

Create a pie chart to show the initial cost totals by department. You may create a set of summary data to the right of the current data to use for the creation of your chart.

  Raw data representation and interpretation

Raw Data Representation and Interpretation

  What types of interfaces will your smart phone possess why

ITEC 630- After the requirement phase, you made some low fidelity prototypes and will evaluate the usability aspect of your design. Per our Session Ten discussion, what Types of Interfaces will your Smart Phone possess? Why?

  Assignment on database management systems

This lab assignment is to practice data modeling of a given user view of an online retail store.

  Create a small database in 2nf in apex

You will create a small database in 2NF in APEX that captures the following information:Customer information including which products the customer has bought. Their identifying information (ID, First Name, Last Name, Address, Phone Number, and th..

  Describe three examples in which data warehouses

Describe three examples in which data warehouse and data mining could be used to support data processing and trend analysis in large organizational environment.

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