Create an ER model for each of the following descriptions: (a) Each Company operates four Departments, and each Department belongs to one Company. (b) Each Department in part(a) employs one or more Employees, and each Employee works for one Department with a startdate. (c) Each of the Employees in part (b) may or may not have one or more Dependents, and each Dependent belongs to one Employee. (d) suppose: Company with attributes cnumber, cname, caddress, President. Department with attributes dname, dnumber, location. Employee with attributes ename, ssn(for social security number), Sex, address, salary, birthdate. Dependent with attributes dpName, Sex, birthdate, and relationship (to the employee). (e) Represent all the ER diagrams described in (a), (b), (c) and (d) as a single ER diagram.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

DATABASE REPORT 

1、How to map ….?

 

Step 1: Mapping of Regular Entity Types.

 

Step 2: Mapping of Weak Entity Types

 

Step 3: Mapping of Binary 1:1 Relation Types

 

Step 4: Mapping of Binary 1:N Relationship Types.

 

Step 5: Mapping of Binary M:N Relationship Types.

 

Step 6: Mapping of Multivalued attributes.

 

Step 7: Mapping of N-ary Relationship Types.

 

 

2、For example: 

 

  1. Create an ER model for each of the following descriptions:

(a) Each Company operates four Departments, and each Department belongs to one Company.

(b) Each Department in part(a) employs one or more Employees, and each Employee works for one Department with a startdate.

(c) Each of the Employees in part (b) may or may not have one or more Dependents, and each Dependent belongs to one Employee.

(d) suppose: Company with attributes cnumber, cname, caddress, President.

Department with attributes dname, dnumber, location.

Employee with attributes ename, ssn(for social security number), Sex, address, salary, birthdate.

Dependent with attributes dpName, Sex, birthdate, and relationship (to the employee).

(e) Represent all the ER diagrams described in (a), (b), (c) and (d) as a single ER diagram.

 

  1. Create an logical data model for relational database of the above designed ER model.

Note:1) An logical data model is collection of relational schemas; 2) A relational schema is : tablename(attributename1, attributename2,…, attributenameN) .

 

  1. Create a database “Company”; Create each table of the above logical data model into the Company database.

 

  1. Insert at least 3 records into each table of above Company database.

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 8 images

Blurred answer
Knowledge Booster
Normalization
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education