A company records every employee's employee number, name and start date. Every supervisor and subordinate is an employee, and the same employee can supervise someone while reporting to someone else. These are staffing responsibilities, with no separate attributes to record for the two responsibilities.
The proposed entity-relationship (ER) sketch separates the staff into two entity types.
Complete the repair note using each appropriate word from this bank once: Employee, recursive, roles, attribute, ternary.
Represent the staff population with one entity type named . The supervises connection is because it connects that entity type to itself. Supervisor and subordinate should label the two relationship .
Unlock full course notes by signing up
Locating a Supplier Quotation Attribute
A manufacturer models Supplier and Part as entity types. A supplier can offer several parts, and a part can be offered by several suppliers. Each approved supplier and part pairing has one current quoted unit price. A supplier may quote different prices for different parts, and different suppliers may quote different prices for the same part.
Which ER design best represents the quoted unit price?
Preserving Three-Entity Business Facts
A distributor authorizes specific combinations of Salesperson, Product, and Territory. An authorization means that a particular salesperson may sell a particular product in a particular territory.
The same salesperson and product pairing may be authorized in several territories. The same salesperson and territory pairing may cover several products. The same product and territory pairing may have several authorized salespeople.
Which ER design directly preserves the exact authorized combinations without implying additional authorizations?
Following Identification Through Hospital Ownership
A hospital group uses an entity-relationship (ER) model with these rules:
HospitalCode uniquely identifies each hospital across the group.
Every ward belongs to exactly one hospital. WardNo is unique within that hospital, but different hospitals may reuse it.
Business Entity-Relationship Modelling for Equipment Reservations
An equipment rental company needs a business entity-relationship model for these rules:
Each Member has a unique MemberID and may have no reservations or several reservations.
Each Reservation has a unique ReservationID and belongs to exactly one member.