Question: 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 Hi!! I need help with these 4 database question please.. Please follow

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!