Database Systems, Do the database er diagram and answer part D

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Database Systems, Do the database er diagram and answer part D
1.
Your task is to design a 'Company' database capable of storing information about EM-
PLOYEE(s), DEPARTMENT(s), and PROJECT(s). Knowing that:
2.
. We store each employee's name (composite attribute -
social security number, address,
salary, and telephone number. An employee is assigned to one department, but may work on several
projects which are not necessarily controlled by the same department. We keep track of the number of
hours that an employee works on each project -
• Each department has a unique name, ja unique number, a single location, and a particular employee
when that
who manages -
the department. We keep track of the start date -
employee began managing the department
A department controls a number of projects, each of which has a unique name, a unique number and
several locations.
(a) {
Give the ER diagram and schema
Which type of relationships do you have? Discuss both the cardinality and the partici-
pation constraints
Give the corresponding relational schema; and
Give a snapshot containing at least 5 entrances (better if mean full).
Primary, candidate and foreign keys: what are them? Give examples (refering to answer 1)
Resource: Chapter1, par.2.1, chapter3 (Data Modeling using the ER model) and Chapter 7 (Relational
Database design by ER and EER to Relational Mapping) of the Elmasri & Navathe book.
Transcribed Image Text:1. Your task is to design a 'Company' database capable of storing information about EM- PLOYEE(s), DEPARTMENT(s), and PROJECT(s). Knowing that: 2. . We store each employee's name (composite attribute - social security number, address, salary, and telephone number. An employee is assigned to one department, but may work on several projects which are not necessarily controlled by the same department. We keep track of the number of hours that an employee works on each project - • Each department has a unique name, ja unique number, a single location, and a particular employee when that who manages - the department. We keep track of the start date - employee began managing the department A department controls a number of projects, each of which has a unique name, a unique number and several locations. (a) { Give the ER diagram and schema Which type of relationships do you have? Discuss both the cardinality and the partici- pation constraints Give the corresponding relational schema; and Give a snapshot containing at least 5 entrances (better if mean full). Primary, candidate and foreign keys: what are them? Give examples (refering to answer 1) Resource: Chapter1, par.2.1, chapter3 (Data Modeling using the ER model) and Chapter 7 (Relational Database design by ER and EER to Relational Mapping) of the Elmasri & Navathe book.
Expert Solution
Step 1

The ER diagram for the COMPANY database is given in the next step.

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY