Question
The requirements for a company database The company is organized into departments. Each department has a name, a number, and an employee who manages the
The requirements for a company database
The company is organized into departments. Each department has a name, a number, and an employee who manages the department. We keep track of the start date when that employee started managing the department. A department may have several locations. We store each employees name, social security, address, salary, sex, and birth date. Employees are classified into managers, technicians, engineers, or secretaries based on their functions. 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 per week that an employee works on each project. Each project is located in a specific city. We also keep track of the direct supervisor of each employee. We want to keep track of the dependents of each employee for benefits purposes. We keep dependents name, sex, birth, date, and relationship to the employee.
Hint:
For any unspecified requirements, add your appropriate assumptions to make the specifications complete.
You may identify multi-value attributes, composite attribute, and multi-valued composite attributes.
As a reference use the text book: Fundamentals of Database Systems.
Develop the query and show the output for each of the following questions:
For employee, list the projects the employee manages.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started