Question

relation FUNDING (city, state, zip, district, budget) city, state -> zip zip -> district state, district...

relation FUNDING (city, state, zip, district, budget)

city, state -> zip

zip -> district

state, district -> budget

Which attributes make up the minimal candidate key of the relation FUNDING?

1. City

2. State

3. Zip

4. District

5. Budget

Homework Answers

Answer #1

Given dependencies are:

city, state -> zip

zip -> district

state, district -> budget

Lets find the attribute closure first:

city+ = city

state+ = state

zip+ = zip,district

district+ = district

budget+ = budget

city,state+ = city,state,zip,district,budget

state,district+ = state,district,budget

All other super keys will be combination of more that 2 attributes.

So minimal combination which can give all the attributes is city,state

So minimal candidate key of relation contains

1.City

2. State

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Database 1. Let A4, A5, and A6 be attributes in a relation R. If both of...
Database 1. Let A4, A5, and A6 be attributes in a relation R. If both of these functional dependencies hold: A4 → A5 and A5 → A6, then A4 → A6holds, because of the _________ rule. 2. The fact that the value of a foreign key attribute must exist in another set of one or more key attributes in another table, is called a(n) __________. 3. Any set of attributes that allows us to identify unique rows (tuples) in a...
A city has 12 districts. An election is coming up for the city metro council (1...
A city has 12 districts. An election is coming up for the city metro council (1 member from each district). In districts 1-5, a single republican and single democrat are running for each district; In districts 6-8, 2 democrats and 2 republicans are running in each district; in district 9, the incumbent (a democrat) is running unopposed. In districts 10-11, 2 republicans and 1 democrat are running in each district. In district 12, 3 democrats and 1 republican are running....
A city has 12 districts. An election is coming up for the city metro council (1...
A city has 12 districts. An election is coming up for the city metro council (1 member from each district). In districts 1-5, a single republican and single democrat are running for each district; In districts 6-8, 2 democrats and 2 republicans are running in each district; in district 9, the incumbent (a democrat) is running unopposed. In districts 10-11, 2 republicans and 1 democrat are running in each district. In district 12, 3 democrats and 1 republican are running....
A city prepares its budget on a cash basis. For each of the following, indicate the...
A city prepares its budget on a cash basis. For each of the following, indicate the amount (if any) of an expenditure/expense that the city would be recognize in (1) its budget, (2) its fund statements, and (3) its government-wide statements. Provide a brief explanation of your response. The city uses the consumption method to account for its inventory. It is the policy of the city to take a full year’s depreciation in the year of acquisition and no depreciation...
The Trail City School District engaged in the following events and transactions during its fiscal year...
The Trail City School District engaged in the following events and transactions during its fiscal year ending June 30, 2017. Remember that you need to apply full accrual basis to all transactions and events for the government-wide financial statements. Required: Prepare the journal entries that would be needed to reflect the transactions and events (below) in Trail City’s School District government-wide financial statements. Transactions and events are below. you might not need all of the account titles listed below –...
A bank branch located in a commercial district of a city has developed an improved process...
A bank branch located in a commercial district of a city has developed an improved process for serving customers during the noon-1:00pm lunch period. The waiting time of all customers during this hour is recorded over the period of a week. A random sample of 30 customers is selected and their waiting time is recorded (see data file Bank 1). At the 0.05 level of significance is there evidence that the population mean waiting time is less than 5 minutes?...
Determine whether the given relation is an equivalence relation on {1,2,3,4,5}. If the relation is an...
Determine whether the given relation is an equivalence relation on {1,2,3,4,5}. If the relation is an equivalence relation, list the equivalence classes (x, y E {1, 2, 3, 4, 5}.) {(1,1), (2,2), (3,3), (4,4), (5,5), (1,3), (3,1), (3,4), (4,3)} If the relation above is not an equivalence relation, state that the relation is not an equivalence relation  and why. Example: "Not an equivalence relation. Relation is not symmetric" Remember to test all pairs in relation R
Customers ID Name Street City Zip email 1 Emily 101 Anza St San Francisco 94118 2...
Customers ID Name Street City Zip email 1 Emily 101 Anza St San Francisco 94118 2 Amy 1 Houston Ave New York 12111 3 John 29 Sunset Blvd Los Angeles 45643 4 Pam 800 Market St San Francisco 94080 5 Sue 400 Muir Ave Redwood City 94598 6 Chris 987 A Ave New York 13111 7 Todd 788 Harrison St San Francisco 94117 Products ID Product_name Price Quantity 1 Metal pen 5.99 20 2 Surge protector 25.99 0 3 pencil...
Please answer in full details for Each (For the USA - Fed, State & City) each...
Please answer in full details for Each (For the USA - Fed, State & City) each have Separate Date and Process ( example; Financial YE for Fed is Oct 1, President is responsible for Fed budget. ) I need the answers for Sate and City since its separate. Thank you. 1.What is the financial YE ? 2.Who is responsible for the Budget? 3. What is the process before it is signed into laws?
Instructions: Step 1: Create UNF Relation from a User View. The goal here is to create...
Instructions: Step 1: Create UNF Relation from a User View. The goal here is to create a single relation for the data found in the user view. The method used is: •   Examine the user view •   Identify all attributes •   Describe the user view using DBDL Here is an example of a user view. This reports lists the customers of the Premiere Corporation. Premiere Corporation Customer List CustNo   Name   Street   City   State   ZipCode   SalesRepNo 124    Sally Adams   482...