Review Questions Q1) Design the entity relationship diagram for the following scenario? A company is setting...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Review Questions Q1) Design the entity relationship diagram for the following scenario? A company is setting up a database to record sellers and their products. This requires recording the following information: • For each seller, their name, contact email, and postal address. For each product, its ID, name, price, and number available. Which product is from which seller. Draw an entity-relationship (ER) diagram that represents this information. Make sure to capture the constraints on the relationships involved, and designate appropriate primary keys for the entities. Q2) Convert the following ER Diagram from the current notation to the min-max notation: Vehicle M Owns 1 Person Introduction to Database Systems ER Diagram Worksheet #2 Lecture of Thr 02-12-2021 Q1: Suppose you are given the following requirements for a simple database for national soccer teams: Each team has a name, ID, logo, city, coach, and a set of players. One of the players would serve as a captain of the team. The system should keep track of the start date of the team captain. A player has an ID, name, position, DoB, and nationality. A player belongs to only one team. A game (match) is played between two teams and we should keep track of the results, match date, stadium, and the city. • Draw the ER of the above requirements. • Extract at least one example of the following: 1. Simple attribute 2. 1:1 relationship 3. 1:M relationship 4. M:N relationship. 5. A relationship attribute. 6. An entity type. • Weak entity type. • Identifying entity type. • Partial key Composite key 7. Total participation constraint. 8. Partial participation constraint. Q2: Define and discuss one example of the following: Review Questions Q1) Design the entity relationship diagram for the following scenario? A company is setting up a database to record sellers and their products. This requires recording the following information: • For each seller, their name, contact email, and postal address. For each product, its ID, name, price, and number available. Which product is from which seller. Draw an entity-relationship (ER) diagram that represents this information. Make sure to capture the constraints on the relationships involved, and designate appropriate primary keys for the entities. Q2) Convert the following ER Diagram from the current notation to the min-max notation: Vehicle M Owns 1 Person Introduction to Database Systems ER Diagram Worksheet #2 Lecture of Thr 02-12-2021 Q1: Suppose you are given the following requirements for a simple database for national soccer teams: Each team has a name, ID, logo, city, coach, and a set of players. One of the players would serve as a captain of the team. The system should keep track of the start date of the team captain. A player has an ID, name, position, DoB, and nationality. A player belongs to only one team. A game (match) is played between two teams and we should keep track of the results, match date, stadium, and the city. • Draw the ER of the above requirements. • Extract at least one example of the following: 1. Simple attribute 2. 1:1 relationship 3. 1:M relationship 4. M:N relationship. 5. A relationship attribute. 6. An entity type. • Weak entity type. • Identifying entity type. • Partial key Composite key 7. Total participation constraint. 8. Partial participation constraint. Q2: Define and discuss one example of the following:
Expert Answer:
Answer rating: 100% (QA)
Answer QUESTION 2 WEAK ENTITY TYPE In a relational database a weak entity is an entity that cannot be uniquely identified by its attributes alone therefore it must use a foreign key in conjunction wit... View the full answer
Related Book For
Data Modeling and Database Design
ISBN: 978-1285085258
2nd edition
Authors: Narayan S. Umanath, Richard W. Scammel
Posted Date:
Students also viewed these accounting questions
-
This exercise is based on the three Presentation Layer ER diagrams that follow. a. Describe what is reflected by the entity types and relationship types in Presentation Layer ER diagram number 1. In...
-
Draw an entity-relationship diagram that shows the relationships among a database, database applications, and users.
-
For this Project you will be designing a wireless network for three accountants sharing an office. Each accountant will have a wireless router for their office space which will be connected through a...
-
Henries Drapery Service is investigating the purchase of a new machine for cleaning and blocking drapes. The machine would cost $137,320, including freight and installation. Henries estimated the new...
-
Two individuals are running for mayor of Shinbone, Kansas. You conduct an election survey a week before the election and find that 51% of the respondents prefer candidate A. Can you predict a winner?...
-
What does it mean to be an ethical leader, and how can ethical or unethical leadership impact an organization? What about an authentic leader? A servant leader?
-
Refer to the information in Exercise 16-12. Prepare a process cost summary using the FIFO method. (Round cost per equivalent unit calculations to two decimal places.) Data From Exercise 16-12 The...
-
Analysis of Subsequent Expenditures The following transactions occurred during 2011. Assume that depreciation of 10% per year is charged on all machinery and 5% per year on buildings, on a...
-
Let the widget industry demand curve be given by P= 200 - Q, where Q is the industry output. There are two firms, Firm 1 and Firm 2. Each has a marginal cost of $20. 1. Assume that these two firms...
-
A company manufacturers a product in the United States and sells it in England. The unit cost of manufacturing is $50. The current exchange rate (dollars per pound) is 1.51. The demand function,...
-
Share an example from your own experience when the market was not in equilibrium for a product or service. Explain why the market was out of equilibrium (what caused it to be out of equilibrium) and...
-
Analyze the frame in Figure P10.23. Compute the reactions and draw the shear and moment diagrams for members \(A B\) and \(B D\). Given: \(E I\) is constant. A w = 5 kips/ft 15- B D 12'
-
What are the main provisions of Dodd-Frank?
-
What are the major provisions of the Norris-LaGuardia Act?
-
How did the federal governments power to regulate business develop?
-
How large is the estimated U.S. fiscal imbalance and how does it divide between current and future generations?
-
Q.7.2 Considering the Converse All Star Sneaker, select three of the seven marketing communication most appropriate.
-
A Alkynes can be made by dehydrohalogenation of vinylic halides in a reaction that is essentially an E2 process. In studying the stereochemistry of this elimination, it was found that...
-
Describe the SQL clauses used in the definition of: a. A primary key constraint b. An alternate key constraint c. A foreign key constraint d. A check constraint
-
In categorization, what is meant by the property of selective type inheritance?
-
How many rows of output would be produced if the ROLLUP used in your query were to take the following form: GROUP BY ROLLUP (YEAR, MONTH, REG_NAME)? Write a query to verify your result?
-
What were Aristotles two main classifications of motion?
-
One kg weighs 10 N on Earth. Would it weigh more or less on the Moon?
-
Which has the greater density1 kg of water or 10 kg of water?
Study smarter with the SolutionInn App