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. social security number, address, • We store each employee's name (composite attribute - 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) (b) (c) (d) 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.

Database Systems: Design, Implementation, & Management
11th Edition
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Chapter10: Transaction Management And Concurrency Control
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
DATABASE SYSTEMS ANSWER THE SECOND QUESTION PLEASE!
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
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Dataset
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
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning