INFOST 410- 201 Ch.2 Exercise 2 (Fall 2022) Chapter 2 Business Rules and Data Modeling The best way to prepare every assignment for this class is by downloading assignment document from canvas and save it with your last name (for example Omwando_Exercise_Ch02-Models). This way you'll have text of the assignments in front of you. You need to insert your answers below each question. Read Ch.1 and Ch.2 of the the textbook. Use the contents of Figure 2.1 to work problems 1-2. 1. Write the business rule(s) that governs the relationship between AGENT and CUSTOMER. One agent can have many customers, each customer only has 1 agent . 2. Given the business rule(s) you wrote in Problem 1, create the basic Crow’s Foot ERD. Page 1 of 3 This study source was downloaded by 100000861606090 from CourseHero.com on 04-17-2023 06:01:35 GMT -05:00 https://www.coursehero.com/file/182855852/Exercise-Chap-2docx/ INFOST 410- 201 Ch.2 Exercise 2 (Fall 2022) Using Figure P2.4 as your guide, work Problems 3-4. The DealCo relational diagram shows the initial entities and attributes for the DealCo stores, located in two regions of the country. 3. Identify each relationship type and write all of the business rules. 4. Create the basic Crow’s Foot ERD for DealCo. Using Figure P2.6 as your guide, work Problems 5−6 The Tiny College relational diagram shows the initial entities and attributes for Tiny College. 5. Identify each relationship type and write all of the business rules. 6. Create the basic Crow’s Foot ERD for Tiny College. Page 2 of 3 This study source was downloaded by 100000861606090 from CourseHero.com on 04-17-2023 06:01:35 GMT -05:00 https://www.coursehero.com/file/182855852/Exercise-Chap-2docx/ INFOST 410- 201 Ch.2 Exercise 2 (Fall 2022) 7. Typically, a patient staying in a hospital receives medications that have been ordered by a particular doctor. Because the patient often receives several medications per day, there is a 1:M relationship between PATIENT and ORDER. Similarly, each order can include several medications, creating a 1:M relationship between ORDER and MEDICATION. a. Identify the business rules for PATIENT, ORDER, and MEDICATION. b. Create a Crow's Foot ERD that depicts a relational database model to capture these business rules. 8. United Broke Artists (UBA) is a broker for not-so-famous painters. UBA maintains a small network database to track painters, paintings, and galleries. A painting is painted by a particular artist, and that painting is exhibited in a particular gallery. A gallery can exhibit many paintings, but each painting can be exhibited in only one gallery. Similarly, a painting is painted by a single painter, but each painter can paint many paintings. Using PAINTER, PAINTING, and GALLERY, in terms of a relational database: a. What tables would you create, and what would the table components be? I would make the main tables Painter, painting, and gallergy. b. How might the (independent) tables be related to one another? Painters can many various paintings, each painting is painted by 1 artist, the gallery can show many paintings, each painting is show in one gallery. Page 3 of 3 This study source was downloaded by 100000861606090 from CourseHero.com on 04-17-2023 06:01:35 GMT -05:00 https://www.coursehero.com/file/182855852/Exercise-Chap-2docx/ Powered by TCPDF (www.tcpdf.org)