Concept explainers
Develop an EER model for the following situation, using the traditional EER notation, the Visio notation, or the subtypes inside supertypes notation, as specified by your instructor:
A technology company provides offerings to its customers. Offerings are of two separate types: products and services. Offerings are identified by an offering ID and an attribute of description. In addition, products are described by product name, standard price, and date of first release; services are described by name of the company's unit responsible for the service and conditions of service. There are repair, maintenance, and other types of services. A repair service has a cost and is the repair of some product; a maintenance service has an hourly rate. Fortunately, some products never require repair. However, there are many potential repair services for a product. A customer may purchase an offering, and the company needs to keep track of when the offering was purchased and the contact person for that offering with the customer. Unfortunately, not all offerings are purchased. Customers are identified by customer ID and have descriptive data of name, address, and phone number. When a service is performed, that service is billed to some customer. Because some customers purchase offerings for their clients, a customer may be billed for services he or she did not purchase, as well as for ones that were purchased. When a customer is billed for a service (although some may never require a service of any type), the company needs to keep track of the date the service was performed, the date the bill is due, and the amount due.
Trending nowThis is a popular solution!
Chapter 3 Solutions
Modern Database Management (12th Edition)
Additional Engineering Textbook Solutions
Computer Science: An Overview (13th Edition) (What's New in Computer Science)
Using MIS (10th Edition)
Starting Out with C++: Early Objects
Database Concepts (7th Edition)
Web Development and Design Foundations with HTML5 (9th Edition) (What's New in Computer Science)
Computer Systems: A Programmer's Perspective (3rd Edition)
- Entity Relationship Diagram of the business, as shown in the case. Completely and correctly specify all Entities, Relationships and Attributes Order: has one or many items; half by member half by anonymous member (no member number)Has: order number, each order item has total cost (with and without gst), number of store, cashier who took the order, member number (if provided), date on which the order was places, and, if the order is not picked up in-person, the date on which the order is shipped. Order-Item (one of the 1600 products):to identify: useorder number as well as a small “item sequence number” (which is unique within each order). product number, quantity ordered and the actial "unit price paid" If a valid member number is on the order, the system should use the product’s special “member price”, otherwise the product’s “regular price” is used. The average order includes 11 distinct order-items. Member (places 5 orders per month on avg):last name, given names, email…arrow_forwardExplain entity sets.arrow_forwardConsider the following entity relationship diagram. Booking Employee Room Building • Booking ID • Employee ID • Building ID • Room ID • First Name • Room ID P • Name Description • Employee ID • Name Last Name • Date • Campus Zone • Email Address • Capacity • Start Time • Map Coordinates Phone • Bookable • End Time For each statement below, use the drop-down box to indicate whether it is true (answer 1) or false (answer2), according to the design decisions encoded in the ERD. Every booking is associated with exactly one employee. ✓ Every employee is associated with at most one booking. ✓ A building may contain no rooms that are recorded in the database. Each room may have many bookings. 1. True ✓ A room must have at least one booking. 2. False ✓ A booking can be associated with many employees. An employee may have no phone number recorded. ✓ A room must have its capacity recorded. ✓ A building is uniquely identified by its map coordinates.arrow_forward
- Please include the eer diagramarrow_forwardThe question is in the image below.arrow_forwardQ2/II draw the entity relationship for each of the following: 1-" a student studies one or many modules and a module is studied by one or many students". 2-" a manager leads one or many employees and an employee is led by one and only one manager". 3-" a manager leads one or many employees and an employee is led by one and only one manager and if there is a manager who has no employees to lead". 4- "a classroom has one and only one lecturer to manage and a lecturer has one and only one classroom". 5- "each classroom has one or many students registered in and a student has one or many classrooms to be registered in".arrow_forward
- Draw a relational model diagram with the following: 1. Patient Entity: RUT (Primary Key): IntegerName: ChainLast name: RopeDate of Birth: DateEmail: StringAddress: ChainTelephone numbers: ChainPension System: Chain 2. Health Insurance Entity: Code (primary key): IntegerType: Rope 3. Medical entity: RUT (Primary Key): IntegerName: ChainLast name: RopeDate of Birth: DateSpecialties: RopeYears of practice: Whole 4. Medical Specialty Entity: Code (primary key): IntegerSpecialty name: String 5. Pharmaceutical company entity: Code (primary key): IntegerName: ChainTelephone number: Chain 6. Medication Entity: Business name (primary key): StringFormula: RopePharmaceutical company code (foreign key): Integer 7. Pharmacy Entity: Code (primary key): IntegerName: ChainAddress: ChainTelephone number: Chain 8. Patient-Doctor Assignment Entity: Assignment ID (primary key): IntegerPatient RUT (foreign key): IntegerDoctor RUT (Foreign Key): Integer numberStart date:…arrow_forwardPrepare an Entity Relationship Diagram for the application described in the following paragraph. Pick and Shovel Construction Company is a multi-state building contractor specializing in medium-priced town homes. Assume that Pick and Shovel’s main entities are its customers, employees, projects and equipment. A customer can hire the company for more than one project, and employees sometimes work on more than one project at a time. Equipment, however, is assigned to only one project at a time. Draw an ERD showing those entities.arrow_forwardPlease draw an Entity-Relationship diagram for the given below MOVIE database. The data requirements are summarized as follows: Each movie is identified by title and year of release. Each movie has a length in minutes. Each has a production company, and each is classified under one or more genres (such as horror, action, drama, and so forth). Each movie has one or more directors and one or more actors appear in it. Each movie also has a plot outline. Finally, each movie has zero or more quotable quotes, each of which is spoken by a particular actor appearing in the movie. Actors are identified by name and date of birth and appear in one or more movies. Each actor has a role in the movie. Directors are also identified by name and date of birth and direct one or more movies. It is possible for a director to act in a movie (including one that he or she may also direct). Production companies are identified by name and each has an address. A production company produces one or more movies.arrow_forward
- Based on Entity Relationship Diagram (ERD) below; a) Write the correct business rules for all entities. b) Write the suitable relationship name for (a) and (b). RESERVATION GUEST ROOM PK RSV_ID PK GUEST_ID RSV_DATE PK ROOM_ID GUEST_NAME ARRIVAL_DATE (b) ROOM_TYPE GUEST_PHONENO (a) DEPART_DATE ROOM_RATE GUEST_ADDRESS NO_OF_GUESTS FK1 RSV_ID NO_OF_ROOMS FK1 GUEST_IDarrow_forwardFor each of the following pairs of related entities, indicate whether (under typical circumstances) there is a one-tomany or a many-to-many relationship. Then, using the shorthand notation introduced in the text, draw a diagram for each of the relationships.a. STUDENT and COURSE (students register for courses)b. BOOK and BOOK COPY (books have copies)c. COURSE and SECTION (courses have sections)d. SECTION and ROOM (sections are scheduled in rooms)e. INSTRUCTOR and COURSEarrow_forwardQuestion: a) Draw the entity relationship diagram for each of the following Scenario. i) The company has over 100 employees. Each employee is identified by their Employee_ID. Other attributes are Employee_Name, EmployeeAddress, and Skills. An employee may have more than one skill. And each skill can be mastered by many employees or none. ii) A customer can submit orders to buy products. Each order is identified by Order_ID, and Order_Date. A customer may submit any number of orders. Each order is submitted by exactly one customer. The identifier for a customer is Customer_ID. Other attributes include Customer_Name and Customer_Addressarrow_forward