Question

In: Computer Science

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.

Solutions

Expert Solution

It's preferable to create an entity set for players' agents separately by considering the following issues:

1. There's a possibility of redundant data

a. An agent may associate with many players and for every player the agent’s information will be replicated, therefore redundancy exists in database.

2. Various anomalies may arise:

a. Insertion Anomaly: In absence of agent’s data for a player the record of player cannot be added or if Null is allowed then there will be so many null values in the record.

b. Deletion Anomaly: If record of all the players associated with an agent is deleted then that agent’s data also deleted unintentionally.

c. Updation Anomaly: if an agent’s data need to be updated then it is required to update in all the places where that data is associated to maintain the database consistency.

All the issues discussed above will be absent if the agents’ data is stored in a separate entity.


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
Your friend tells you that the proportion of active Major League Baseball players who have a...
Your friend tells you that the proportion of active Major League Baseball players who have a batting average greater than .300 is less than 0.8, a claim you would like to test. The hypotheses for this test are Null Hypothesis: p ≥ 0.8, Alternative Hypothesis: p < 0.8. If you randomly sample 20 players and determine that 13 of them have a batting average higher than .300, what is the test statistic and p-value? 1) Test Statistic: 1.677, P-Value: 0.953...
Soma recorded in the table the height of each player on the basketball team Basketball Players’...
Soma recorded in the table the height of each player on the basketball team Basketball Players’ Heights (in inches) 66 66 68 57 64 65 67 67 64 65 Construct a normal probability distribution curve for this population! Indicate the number for the mean, 1SD, 2SD and 3SD (both sides of the mea) (1+ 6*0.5=4p)
16#2 The following table provides the starting players of a basketball team and their heights Player...
16#2 The following table provides the starting players of a basketball team and their heights Player A B C D E Height (in.) 75 77 78 81 84 a. The population mean height of the five players is: 79 b. Find the sample means for samples of size 2. A, B: ?¯ = A, C: ?¯ = A, D: ?¯ = A, E: ?¯= B, C: ?¯ = B, D: ?¯ = B, E: ?¯ = C, D: ?¯= C,...
Create a Database in POSTGRESQL using the following table names and attributes: users: userid (int, primary...
Create a Database in POSTGRESQL using the following table names and attributes: users: userid (int, primary key), name (text) movies: movieid (integer, primary key), title (text) taginfo: tagid (int, primary key), content (text) genres: genreid (integer, primary key), name (text) ratings: userid (int, foreign key), movieid (int, foreign key), rating (numeric), timestamp (bigint, seconds since midnight Coordinated Universal Time (UTC) of January 1, 1970) tags: userid (int, foreign key), movieid (int, foreign key), tagid (int, foreign key), timestamp (bigint, seconds...
Major league baseball team owners have an oligopoly in the market for baseball players
3. Problems and Applications Q3This chapter discusses companies that are oligopolists in the market for the goods they sell. Many of the same ideas apply to companies that are oligopolists in the market for the inputs they buy. If sellers who are oligopolists try to increase the price of goods they sell, the goal of buyers who are oligopolists is to try to decrease the prices of goods they buy Major league baseball team owners have an oligopoly in the market...
You have a table for a membership database that contains the following fields: MemberLastName,
You have a table for a membership database that contains the following fields: MemberLastName, MemberFirstName, Street, City, State, ZipCode, and InitiationFee. There are 75,000 records in the table. What indexes would you create for the table, and why would you create these indexes?
Functional Dependency and normalization. The following database table describes a hospital containing physicians and the patients...
Functional Dependency and normalization. The following database table describes a hospital containing physicians and the patients they had appointments with. Physician ID Physician Name Patient Name Appointment ID Appointment Date Patient Phone Number Patient Symptoms Patient Email Physician Phone Number Define the functional dependencies in the database table. (10 pts) Normalize the table to follow third normal form (10 pts)
tableA is a table in a relational database with a composite prime key. You have determined...
tableA is a table in a relational database with a composite prime key. You have determined that the table is 2NF. Owing to the fact that it is 2NF and the key is composite, is it automatically 3NF? Explain your answer. (4 points) Lack of normalization of database tables may cause update, delete, and/or insert anomalies. You have a 2NF table, tableA, in a relational database. Give an example of an anomaly to which tableA might still be subject. Give...
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...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT