Question

In: Computer Science

Discussion Topics: Assume that you have a Saudi league player database. In this database, you have...

Discussion Topics:
Assume that you have a Saudi league player database. In this database, you have a table containing players’ attributes such as (Name, age, position, etc.) and you decided to add information about players’ agents. Would you represent the agent information as attributes in the player table or would you create an entity set for players’ agents? Justify your answer.   

Note: Provide answers in your own words.

Solutions

Expert Solution

1). ANSWER :

GIVENTHAT :

- Lets assume this is the table for the player which is given to us
Player( name , age , position , gender , address, experience ) ------------------> GIVEN

TODO:
- Now, we need to add the players agent info.


Process:
- Check if the agent is directly an attribute of the player or NOT.
- No, agent is a seperate entity linked by some relationship.
- It means that player and agent are two seperate entities having some relationship between them.
- The relationship here is IS-A relationship.
- It means that X is an agent of Y (example). X is agent, Y is player.

As we can see that there are two independent entities having some relationship between them, thus, there will be TWO table or a new Entity Set for AGENT.


Why did we choose seperate entity for AGENT and NOT ONE?
- Consider a scenario where all the information is stored in single table.
- All the players will be tightly coupled with the agents.
- It means that if a particular agent leaves, we also have to remove the corresponding player entry if it is in a same table.
- The above case is called DELETE ANAMOLY in case of DB Design.

- Now, consider 2 different tables linked via a foreign key in AGENTS table.
- If we want to remove any reference of agent, corresponding to the player, we can easily do so by removing from the entry from the AGENTS table without having to change anything in the PLAYERS table.
- This way we have resolved the DELETE ANAMOLY by creating a seperate entity/table for AGENTS corresponding to the player.


Related Solutions

Assume that you have a Saudi league player database. In this database, you have a table...
Assume that you have a Saudi league player database. In this database, you have a table containing players’ attributes such as (Name, age, position, etc.) and you decided to add information about players’ agents. Would you represent the agent information as attributes in the player table or would you create an entity set for players’ agents? Justify your answer.   I need clear answer please don't copy and paste
Assume that you have a Saudi league player database. In this database, you have a table containing players’ attributes
Assume that you have a Saudi league player database. In this database, you have a table containing players’ attributes such as (Name, age, position, etc.) and you decided to add information about players’ agents. Would you represent the agent information as attributes in the player table or would you create an entity set for players’ agents? Justify your answer.
HR Slugger is a professional baseball player in a Major League Baseball league. He is a...
HR Slugger is a professional baseball player in a Major League Baseball league. He is a well-known player and is very popular throughout the league, but especially with the local fans. Much of his population is based on his hitting ability, specifically regarding home runs. The issue emerges from the following facts, similar to an actual situation you may have heard of. • After days of intense anticipation by sports fans and winters throughout the league, Slugger hits a home...
Assume you are creating a database for IS paint store. The database needs to support the...
Assume you are creating a database for IS paint store. The database needs to support the following business functions. • Allow customers to browse the inventory. Customers want to search by paint types and colors. Customers also wants to know pricing information. • A customer can be a regular customer (e.g., home owner), or a contractor or painting professionals. Different customers can get different discounts for the same type of paint. We assume each customer can get the same discount...
For purposes of this discussion, you will assume that you have just been hired by Josephine,...
For purposes of this discussion, you will assume that you have just been hired by Josephine, a business which connects home-based food vendors to community members seeking home-cooked meals, similarly to the manner in which Über connects drivers to people needing a ride, and Etsy connects buyers to home-based crafts manufacturers. You are new to Josephine, and have been hired as finance manager. You are responsible for Josephine’s initial public offering, and in your capacity as finance manager, you wish...
Discussion of Short-Run Economic Fluctuations --- Possible Discussion Topics --- Others are Welcome What have been...
Discussion of Short-Run Economic Fluctuations --- Possible Discussion Topics --- Others are Welcome What have been the major sources of disruption over the past several years? From an Aggregate Demand and Supply perspective, does it matter which programs are adopted? Which programs do you recommend should be adopted? Should subsidies and tax breaks to business (corporate welfare to agriculture, forestry, export promotion, research and development, removal of dividends tax etc. ) be the focus or should subsidies go to individuals...
Discussion Topics: Please answer both topics. 1. What are some of the factors that affect the...
Discussion Topics: Please answer both topics. 1. What are some of the factors that affect the way a woman perceives and copes with pain? Discuss culture, age, previous personal experience with pain, parity, and the physical, psychologic, and emotional support. 2. Differentiate among the nursing interventions used for managing specific fetal heart rate patterns, including tachycardia and bradycardia, absent or minimal variability, and late and variable decelerations.
Discussion Topics: Please answer both topics. 1. What are some of the factors that affect the...
Discussion Topics: Please answer both topics. 1. What are some of the factors that affect the way a woman perceives and copes with pain? Discuss culture, age, previous personal experience with pain, parity, and the physical, psychologic, and emotional support. 2. Differentiate among the nursing interventions used for managing specific fetal heart rate patterns, including tachycardia and bradycardia, absent or minimal variability, and late and variable decelerations.
Please respond to EACH of the following discussion topics and submit them to the discussion forum...
Please respond to EACH of the following discussion topics and submit them to the discussion forum as a single post. Your initial post should be 75-150 words in length.Then, make at least two thoughtful responses to your fellow students’ posts. If you haven’t recently, please review the Rules of Discussion. The Questioning Toolkit identified 17 kinds of questions: Essential question Organizing question Elaborating question Divergent question Subsidiary question Probing question Unanswerable question Irrelevant question Hypothetical question Sorting and Sifting question...
Egocentricity Please respond to EACH of the following discussion topics and submit them to the discussion...
Egocentricity Please respond to EACH of the following discussion topics and submit them to the discussion forum as a single post. Your initial post should be 75-150 words in length.Then, make at least two thoughtful responses to your fellow students’ posts. If you haven’t recently, please review the Rules of Discussion. Take the Egocentricity Quiz: http://home.earthlink.net/~bmgei/educate/docs/aperson/thinking/ego-quiz.htm If you scored more than nine, read “If you are egocentric, what can you do?” at this website: http://home.earthlink.net/~bmgei/educate/docs/aperson/thinking/kill-ego.htm Pick one characteristic from the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT