Identify the candidate keys of each relation

Assignment Help Basic Computer Science
Reference no: EM131269896

Super Baseball League Consider the following relational database for the Super Baseball League. It keeps track of teams in the league, coaches and players on the teams, work experience of the coaches, bats belonging to each team, and which players have played on which teams. Note the following facts about this environment:

• The database keeps track of the history of all of the teams that each player has played on and all of the players who have played on each team.

• The database keeps track of only the current team that a coach works for.

• Team Number, Team Name, and Player Number are each unique attributes across the league.

• Coach Name is unique only within a team (and we assume that a team cannot have two coaches of the same name).

• Serial Number (for bats) is unique only within a team.

• In the AFFILIATION relation, the Years attribute indicates that number of years that a player played on a team; the Batting Average is for the years that a player played on a team

1289_94a011b5-c485-4b0e-97d0-0e5284e04041.png

a. Identify the candidate keys of each relation.

b. Identify the primary key and any alternate keys of each relation.

c. How many foreign keys does each relation have?

d. Identify the foreign keys of each relation.

e. Indicate any instances in which a foreign key serves as part of the primary key of the relation in which it is a foreign key. Why does each of those relations require a multi-attribute primary key?

f. Identify the relations that support many-to-many relationships, the primary keys of those relations, and any intersection data.

g. Assume that we add the following STADIUM relation to the Super Baseball League relational database. Each team has one home stadium, which is what is represented in this relation. Assume that a stadium can serve as the home stadium for only one team. Stadium Name is unique across the league.

351_bcddc55c-f209-46e3-84be-9f9f763e244d.png

What kind of binary relationship exists between the STADIUM relation and the TEAM relation? Could the data from the two relations be combined into one without introducing data redundancy? If so, how?
h. Using the informal relational command language described in this chapter, write commands to:

i. Retrieve the record for team number 12.

ii. Retrieve the record for coach Adams on team number 12.

iii. List the player number and age of every player.

iv. List the work experience of every coach.

v. List the work experience of every coach on team number 25.

vi. Find the age of player number 42459.

vii. List the serial numbers and manufacturers of all of the Vultures' (the name of a team) bats.

viii. Find the number of years of college coaching experience that coach Taylor of the Vultures has.

Reference no: EM131269896

Questions Cloud

How much of the final amount is interest : How much will be in the account 40 years later, when you retire at age 65? How much of the final amount is interest?
Describe the concept of the unary one-to-many relationship : How is a unary one-to-many relationship constructed in a relational database?
Health services for special populations : Population groups are disproportionately disadvantaged in accessing healthcare. Identify a vulnerable population and describe some of the key challenges in the delivery of services to that population. Given the challenges you note, what measures coul..
Compute the interest earned in problem : Find the future value at 3.25% interest, compounded continuously for 4 years, of the continuous income stream with rate of flow f(t) = 1.65e0.02t.
Identify the candidate keys of each relation : What kind of binary relationship exists between the STADIUM relation and the TEAM relation? Could the data from the two relations be combined into one without introducing data redundancy? If so, how?
Discuss the underlying assumptions and implications : Discuss the purpose and philosophical approach. Discuss the underlying assumptions and implications. If referring to a research article, present the methodology, where relevant, and discuss any practical issues or reasons to question the author's ..
Control discretion and investigate police misconduct : With respect to police decision-making, what is discretion? What makes it good or bad? Can it be both? In which types of situations do police officers exercise the most discretion? At which level do officers have the most discretion? After reading th..
Compute the interest earned in problem : Compute the interest earned in Problem.- Find the future value, at 2.95% interest, compounded continuously for 6 years, of the continuous income stream with rate of flow f(t) = 2,000e0.06t.
Create a market for the drugs economists can provide : Because legalization would create a market for these drugs, economists can provide helpful commentary based on consumer choice and demand.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Operating system threats and security

Explaining the most common security threats, modern threats to current Client and Network Operating Systems, Encryption, Authentication, and Hashing. Include the narrator notes as a separate attachment.

  Draw a dependency diagram to show functional dependencies

This assessment item is designed to test your understanding of more advanced database design, your ability to use an iterative approach to modelling, and to examine data problems due to redundancy.

  Modify dijkstra''s algorithm

a. Explain how to modify Dijkstra's algorithm to produce a count of the number of different minimum paths from v to w. b. Explain how to modify Dijkstra's algorithm so that if there is more than one minimum path from v to w, a path with the fewest nu..

  Examine the performance properties of this implementation

Examine the performance properties of this implementation.

  The uml class

The UML Class, Sequence Diagrams etc, can be drawn in preferably NetBeans UML, if it is not convenient on that, any other UML tool would do

  How the problem creates an inefficiency

Compare and contrast two (2) management information systems and indicate why the management information system would help to create added efficiency within the organization.

  Pascal triangle and binomial theorem

Write the geometric sequence that has four geometric means between 1 and 7,776? Find the sum of the first 40 terms of the arithmetic series: -5, -4, -3, -2, -1, ? Use pascal's triangle and binomial theorem to expand (x-2)^5?

  Different phases of the knowledge discovery from databases

Describe a complete application scenario in which new knowledge may be mined from an existing database of transactions.

  What is the planning triangle

What is the planning triangle and what do the strategies lay out a map for?

  Describe how your architecture could be implemented

Read the case study titled "A Patient Infonnation System for Mental Health Care", Describe any shortcomings associated with your chosen architecture pattern for the case study. Describe how your architecture could be implemented in hardware and softw..

  Describe the ocp in your own words

Describe the OCP in your own words. Why is it important to create abstractions that serve as an interface between components?

  Gui that enters data about new employees

You need to create a user-friendly GUI that enters data about new employees. The employees must be categorized by department (marketing, accounting, sales, or manufacturing) and also by whether they are full-time or part-time employees.

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