Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi!! I need help with these 4 database question please.. Please follow the instructions strcitly for your answers... Thanks Problem 1 A database for maintaining

Hi!! I need help with these 4 database question please.. Please follow the instructions strcitly for your answers... Thanks image text in transcribed

Problem 1 A database for maintaining information about cities in the United States has the following relation schema: Infolcity name, state, governor, mayor) The city_name attribute is the name of a city, state is the abbreviation for state the city is in, governor is the name of the governor of the state the city is in, and mayor is the name of the mayor of the city. For example, the tuple ('New York','NY','Andrew Cuomo','Bil diBlasio') gives information about New York City. Two cities may have the same name (for example there are at least two cities named Portland in the US), but two cities in the same state cannot have the same name. Two states cannot have the same abbreviation. Each city has exactly one mayor and each state has exactly one governor 1. State whether each of these is A. a superkey, B. a superkey that is also a candidate key, or C. not a superkey . city-name, state) . [city-name, state, mayor . {city.name) . {state, governor) 2. If there are 500 cities from NY state in a relation of this schema, how many rows will need to be updated when NY gets a new governor? 3. We will say that a functional dependency a - is trivial if is a subset of . Give an example of a trivial functional dependency in this schema. 4. Give an example of a non-trivial functional dependency in this schema for which the left-hand side is a superkey

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

Database And Expert Systems Applications 19th International Conference Dexa 2008 Turin Italy September 2008 Proceedings Lncs 5181

Authors: Sourav S. Bhowmick ,Josef Kung ,Roland Wagner

2008th Edition

3540856536, 978-3540856535

More Books

Students also viewed these Databases questions

Question

Question Can plan participants borrow from a VEBA?

Answered: 1 week ago

Question

Question What is an educational benefit trust and how is it used?

Answered: 1 week ago

Question

Question How are VEBA assets allocated when a plan terminates?

Answered: 1 week ago