Concept explainers
A bank has three types of accounts: checking, savings, and loan. Following are the attributes for each type of account:
CHECKING: Acct No, Date Opened, Balance, Service Charge
SAVINGS: Acct No, Date Opened, Balance, Interest Rate
LOAN: Acct No, Date Opened, Balance, Interest Rate, Payment
Assume that each bank account must be a member of exactly one of these subtypes. using generalization, develop an EER model segment to represent this situation using the traditional EER notation, the Visio notation, or the subtypes inside supertypes notation, as specified by your instructor. Remember to include a subtype discriminator.
Want to see the full answer?
Check out a sample textbook solutionChapter 3 Solutions
Modern Database Management
Additional Engineering Textbook Solutions
Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
Management Information Systems: Managing the Digital Firm (15th Edition)
Introduction to Java Programming and Data Structures, Comprehensive Version (11th Edition)
Using MIS (10th Edition)
Database Concepts (8th Edition)
Java: An Introduction to Problem Solving and Programming (7th Edition)
- A derived attribute can be stored in a table or calculated on each occasion that it is required. An example of a derived attribute is your Grade Point Average which is calculated by adding together a score for each unit (e.g., HD=4, D=3, C=2, P=1, N=0) and dividing that by the number of units you have completed. Explain how the decision as to whether the Grade Point Average would be stored in a table or calculated would be made. You are administering a database in a large retail company that records sales at each of the company’s stores. Tuning the database to improve performance by adding indexes and optimising query execution is an important ongoing aspect of the physical database design. Which attributes in a database such as this (apart from the primary key) are likely to BENEFIT from being indexed? Which attributes would you generally avoid indexing, and why?arrow_forwardER model relationships are represented using a.) relationship keys b.) primary keys c.) crows foot symbols d.) main keys What do the cardinalities in an ER model show, (please select all that apply)? a.) only a one to one relationship. b.) the minimum number of entities that can be involved in a relationship. c.) only a many to many relationship.arrow_forwardUse Lucidchart to draw an ERR Diagram with this information: EER Diagram for Royal Victoria Hospital Information System Assumptions: The diagram focuses on the entities and relationships. Attributes with cardinality are assumed to be single-valued. Dates are assumed as identifiers for visits. Entities: Person: (person_ID, name, address, birth_date, phone_number) Employee: (inherits from Person, date_hired) Nurse: (inherits from Employee, certificate) Staff: (inherits from Employee, job_class) Technician: (inherits from Employee, skill) Physician: (inherits from Person, speciality, pager_number) Patient: (inherits from Person, contact_date, resident_flag) Outpatient: (inherits from Patient) Resident: (inherits from Patient) Visit: (date, comments, outpatient_ID) Care Centre: (name, location) Laboratory: (name, location) Bed: (bed_number, room_number, care_centre_ID) Item: (item_number, description, unit_cost) Treatment:…arrow_forward
- Consider 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_forwardDraw an ER diagram and then map it into a relational schema(database) for the following scenario.• For each MEMBER we keep track of the unique MemdID, a well as Name, Zip, and the Datethe membership was paid.• For each MEMBERSHIP type we keep track of the unique Mid, as well as MName and Price• For each PASS CATEGORY we keep track of the unique PassCatID, as well as PCName andPrice• For each ONE DAY PASS we keep track of the unique PassID and Date• For each MERCHANDISE item we keep track of the unique MrchID, as well as Name andPrice• For each sale TRANSACTION we keep track of the unique Tid and Date• Each member pays for exactly one membership type; each membership type has at leastone member but can have many members.• Each member can buy many day passes but does not have to buy any, each day pass wasbought by exactly one member• Each day pass belongs to exactly one pass category; a pass category can have manyindividual day passes issued for it but does not have to have any. • Each…arrow_forwardCreate an ER Model for the following requirements: A car has a make, model and year. A registration has a county and date. A person has an address and an age. A car may be owned by a person. A car may be registered to an owner. Explain your reasoning behind 1 choice you made between in the ER diagram in question 1. For example, why choose entity vs relationship, or weak entity vs ternary relationship, or use/disuse of an aggregation, or similar choices.arrow_forward
- Problem 5: Draw an entity-relationship diagram for the following situation: Many students play many different sports. One person, called the head coach, assumes the role of coaching all these sports. Each of the entities has a number and a name. (Make any assumptions necessary to complete a reasonable diagram. List your assumptions.) The entity-relationship diagram you drew in Problem 5 represents the data entities that are needed to implement a system for tracking students and the sports that they play. List the tables that are needed to implement the system, along with primary, secondary, and foreign keys that are required to link the tables.arrow_forwardEntity-Relationship Diagram (ERD) is one of the data modeling tools that provides a software engineer with the ability to represent data objects, their characteristics, and their relationships. Use an ERD to describe the following scenario. A teacher is identified by an ID number (TID), last name (LName), and first name (FName). A project is identified by a project ID (PID) and title (T). A student is identified by an ID number (SID), last name (LName), and first name (FName). A teacher can supervise zero, one, or many students and a student is supervised by one teacher. A teacher must propose one or many projects and every project is proposed by one teacher. A student must work on one project and every project is worked by only one student.arrow_forwardEER Design Exercise A bank has three types of accounts: checking, savings, and loan. Following are the attributes for each type of account: CHECKING: Acct. No, Date Opened, Balance, Service Charge SAVINGS: Acct. No, Date Opened, Balance, Interest rate LOAN: Acct. No, Date Opened, Balance, Interest rate, Payment Develop an EER model to represent this situation. Your model should be designed using Microsoft softwarearrow_forward
- need diagram Design an ER schema for prescription monitoring based on the given data: Patients are defined by an identity number, a first name and a last name, and by a birth-date. Doctors are defined as well by an identity number, a first name, a last name, and a birth-date, while additionally they will be characterized by a work start date and a specialty. Pharmaceutical companies will be defined by a name, and a telephone number. Medicines will be defined by a commercial name, their manufacturer, and their active ingredient. Pharmacies will be defined by a name, an address and a telephone number. Each patient has one doctor and each doctor has at least one patient. A doctor can prescribe certain medicines to his patients. Each pharmacy sells several medicines, each at a specific price. Each medicine can be sold by several pharmacies possibly at a different price. Pharmaceutical companies have contracts with pharmacies. Each pharmaceutical company may have contracts with several…arrow_forwardDraw an EER diagram for the following problem using this text's EER notation, the Visio notation, or the subtypes inside supertypes notation, as specified by your instructor. A nonprofit organization depends on a number of different types of persons for its successful operation. The organization is interested in the following attributes for all of these persons: SSN, Name, Address, City /State/Zip, and Telephone. Three types of persons are of greatest interest: employees, volunteers, and donors. Employees have only a Date Hired attribute, and volunteers have only a Skill attribute. Donors have only a relationship (named Donates) with an Iten1 entity type. A donor must have donated one or more items, and an item may have no donors or one or more donors. There are persons other than employees, volunteers, and donors who are of interest to the organization so that a person need not belong to any of these three groups. On the other hand, at a given time a person may belong to two or more…arrow_forwardPrepare an E-R diagram for a Aqarat (real estate) Company that lists property for sale. The following describes this organization: The company has a several number of offices. Attributes of office include Office_Number (identifier) and Location. Each office is assigned one or more employees. Attributes of employee include Employee_ID (identifier) and Employee_Name. An employee must be assigned to only one sales office. For each office, there is always one employee assigned to manage that office. An employee may manage only the office to which she is assigned. The company lists property for sale. Attributes of property include Property_ID (identifier) and Location. Components of Location include Address, City, State, and Zip_Code. Each unit of property must be listed with one (and only one) of the offices. A office may have any number of properties listed, or may have no properties listed. Each unit of property has one or more owners. Attributes of owners are Owner ID (identifier) and…arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education