Question

In: Accounting

A new database needs to be developed. You are required to draw the related Entity Relationship...

A new database needs to be developed. You are required to draw the related Entity Relationship Diagram (ERD) that includes the following information:

(a) Employee (the company has several employees)

(b) Department (each employee is assigned to one department)

(c) Payroll (each employee receives his/her pay for the period)

(d) Customer (employees sell products to customer)

(e) Products (the company offers several products)

Note that an employee can sell products to several customers and that every customer can be served by multiple employees. Include relationship types only if necessary and specify suitable primary keys for all elements. Include all primary keys and all foreign keys in the ERD.

Use PowerPoint to draw the ERD and then upload the file. Alternatively, you can use another software to draw the ERD and submit a PDF file.

Solutions

Expert Solution

Entity Relationship Diagram (ERD)

An Entity Relationship (ER) Diagram is a type of flowchart that illustrates how “entities” such as people, objects or concepts relate to each other within a system.

The components and features of an ER diagram defined hereunder.

Entity keys: Refers to an attribute that uniquely defines an entity in an entity set. Entity keys can be super, candidate or primary.

Candidate key: A minimal super key, meaning it has the least possible number of attributes to still be a super key. An entity set may have more than one candidate key.

Primary key: A candidate key chosen by the database designer to uniquely identify the entity set.

Foreign key: Identifies the relationship between entities.

Relationship: How entities act upon each other or are associated with each other.

Attribute:     A property or characteristic of an entity.

Eg. Attributes of Employee: Employee First Name, Last Name, Address, Email ID

Cardinality:

Defines the numerical attributes of the relationship between two entities or entity sets.   The three main cardinal relationships are one-to-one, one-to-many, and many-many. A one-to-one example would be one Employee associated with one Department. A one-to-many example (or many-to-one, depending on the relationship direction): One employee can sell products to several customer. Many-to-many example: Several customers can be served by several employees.

In the given Problem:

Entities are Employees, Departments, Products, and Pay

Primary Key are Employee ID, Department ID, Product ID, Customer ID and Pay period

Foreign Key are Customer ID in the case of every customer can be served by many employees and Employee ID is the foreign key employee can sell several products to several customers


Related Solutions

A database needs to be developed that supports a supermarket. (i) Design an entity-relationship diagram that...
A database needs to be developed that supports a supermarket. (i) Design an entity-relationship diagram that captures, as far as possible, the requirements stated below. (Statements in brackets are additional explanations and not part of the requirements proper.) If you make any assumptions in your design, please write them down. Assumptions, however, must not contradict the requirements. 1. The supermarket sells products. Each product is uniquely identified by its product number. Moreover, a product has price. The supermarket also records...
SNOWMOBILE CLUB - Database Development Draw an Entity-Relationship Diagram which must include all entities and their...
SNOWMOBILE CLUB - Database Development Draw an Entity-Relationship Diagram which must include all entities and their attributes. Primary Keys underlined, Foreign Keys labeled, Weak entities double boxed. You have been asked to develop a database to help the Wisconsin Snowmobile Association track their club members. The following are the predefined business rules: 1) Snowmobile Clubs are tracked by Wisconsin county. 2) A club can be assigned to multiple counties. 3) Members can belong to one or more clubs. 4) Some...
Designing and refining an Entity-Relationship Model A company wants a simple database to record information about...
Designing and refining an Entity-Relationship Model A company wants a simple database to record information about ticket sale for theatre performances. They describe the key elements of their requirements in the following points: • Customers have a name, phone number, a credit card no, and a unique customer number. • Customers can attend many performances, and each performance can have many customers attending. • Each performance of a show is on at a specific date and time, at a venue....
Assume you are creating a database for IS paint store. The database needs to support the...
Assume you are creating a database for IS paint store. The database needs to support the following business functions. • Allow customers to browse the inventory. Customers want to search by paint types and colors. Customers also wants to know pricing information. • A customer can be a regular customer (e.g., home owner), or a contractor or painting professionals. Different customers can get different discounts for the same type of paint. We assume each customer can get the same discount...
2. Draw an entity relationship diagram (ERD) for the following situation: The state of Georgia is...
2. Draw an entity relationship diagram (ERD) for the following situation: The state of Georgia is interested in designing a database that will track its researchers. Information of interest includes researcher name, title, position; university name, location, enrollment; and research interests. Each researcher is associated with only one institution, and each researcher has several research interests. 3. Visit a Web site that allows customers to order a product over the Web (e.g., Amazon.com). Create a data model that the site...
In you own words explain what relationship database is. Discuss the benefits of using relationship database...
In you own words explain what relationship database is. Discuss the benefits of using relationship database for improving workflow and efficiency of business decision-making processes.
case study 1.    Draw an Entity Relationship Diagram (ERD) for the following problem. Make sure you identify...
case study 1.    Draw an Entity Relationship Diagram (ERD) for the following problem. Make sure you identify correct relationships, attributes, and identifiers (keys). 2.    Implement the database design into tables using an industrial-strength database management system (e.g. Oracle SQL+). case: HELP is a voluntary organization that provides aid to people. Based on the following brief description of operations, create the appropriate fully labeled Crow’s Foot ERD. Individuals volunteer their time to carry out the tasks of the organization. For each volunteer, their...
Draw a complete ERD of a database design to meet their needs First Urban Rescue (FUR...
Draw a complete ERD of a database design to meet their needs First Urban Rescue (FUR ) takes in cats and dogs that are no longer wanted in their old home , and tries to find them new homes . For each pet taken in by FUR , the pet is given a name if it doesn't already have one . The breed , name , approximate age , height , weight , and date arrived at FUR is recorded...
What role does the entity-relationship (ER) diagram play in the database design process? Discuss the different...
What role does the entity-relationship (ER) diagram play in the database design process? Discuss the different types of information represented in the ER diagram and the symbols used to represent them. How would you approach the diagramming process?
Entity-relationship data model (ERD)-Business rule, assumptions You are required to develop an ER model to represent...
Entity-relationship data model (ERD)-Business rule, assumptions You are required to develop an ER model to represent the information requirements of company you are working for. You also need to write business rules and assumptions. Task 2: Create the Data Dictionary base on your ERD diagram.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT