(1) Retrieve the names (fpame.Jname) of employees who work more than 11 hours per week on the 'TSU' project. (“TSU" is project name.) (2) Retrieve the names (fpame, Iname) of all employees who work on at least one project. (3) Retrieve the locations of “EEE" department. (“EEE" is department name).

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
### Instructions for Database Queries Using Relational Algebra

#### Task Overview:
Specify the following queries based on the database schema provided. Use the operations of relational algebra for solutions. Note that submissions should be typed and SQL solutions will not be accepted. Submit your work as a PDF file via Canvas.

#### Database Schema Explanation:

- **EMPLOYEE:** Contains fields such as first name (FNAME), middle initial (MINIT), last name (LNAME), social security number (SSN), birth date (BDATE), address, sex, salary, supervisor’s SSN (SUPERSSN), and department number (DNO).
- **DEPARTMENT:** Contains fields for department name (DNAME), department number (DNUMBER), manager’s SSN (MGRSSN), and manager start date (MGRSTARTDATE).
- **DEPT_LOCATIONS:** Links department numbers (DNUMBER) to locations (DLOCATION).
- **PROJECT:** Contains fields for project name (PNAME), project number (PNUMBER), project location (PLOCATION), and department number (DNUM).
- **WORKS_ON:** Associates employees (ESSN) with projects (PNO) and the hours they work (HOURS).
- **DEPENDENT:** Links employees (ESSN) to dependents with fields such as dependent name (DEPENDENT_NAME), sex, birth date (BDATE), and relationship.

#### Queries:

1. **Retrieve Employee Names on TSU Project:**
   - Retrieve the names (first name, last name) of employees who work more than 11 hours per week on the 'TSU' project. (Note: "TSU" is the project name.)

2. **Employees Working on Projects:**
   - Retrieve the names (first name, last name) of all employees who work on at least one project.

3. **Locations of EEE Department:**
   - Retrieve the locations of the "EEE" department. (Note: "EEE" is the department name.)

4. **Direct Supervisor of Mike Smith:**
   - Find the name (first name, last name) of the direct supervisor of “Mike Smith.” (Note: "Mike Smith" is an employee. This question focuses on identifying the supervisor, not the manager.)
Transcribed Image Text:### Instructions for Database Queries Using Relational Algebra #### Task Overview: Specify the following queries based on the database schema provided. Use the operations of relational algebra for solutions. Note that submissions should be typed and SQL solutions will not be accepted. Submit your work as a PDF file via Canvas. #### Database Schema Explanation: - **EMPLOYEE:** Contains fields such as first name (FNAME), middle initial (MINIT), last name (LNAME), social security number (SSN), birth date (BDATE), address, sex, salary, supervisor’s SSN (SUPERSSN), and department number (DNO). - **DEPARTMENT:** Contains fields for department name (DNAME), department number (DNUMBER), manager’s SSN (MGRSSN), and manager start date (MGRSTARTDATE). - **DEPT_LOCATIONS:** Links department numbers (DNUMBER) to locations (DLOCATION). - **PROJECT:** Contains fields for project name (PNAME), project number (PNUMBER), project location (PLOCATION), and department number (DNUM). - **WORKS_ON:** Associates employees (ESSN) with projects (PNO) and the hours they work (HOURS). - **DEPENDENT:** Links employees (ESSN) to dependents with fields such as dependent name (DEPENDENT_NAME), sex, birth date (BDATE), and relationship. #### Queries: 1. **Retrieve Employee Names on TSU Project:** - Retrieve the names (first name, last name) of employees who work more than 11 hours per week on the 'TSU' project. (Note: "TSU" is the project name.) 2. **Employees Working on Projects:** - Retrieve the names (first name, last name) of all employees who work on at least one project. 3. **Locations of EEE Department:** - Retrieve the locations of the "EEE" department. (Note: "EEE" is the department name.) 4. **Direct Supervisor of Mike Smith:** - Find the name (first name, last name) of the direct supervisor of “Mike Smith.” (Note: "Mike Smith" is an employee. This question focuses on identifying the supervisor, not the manager.)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions
  • SEE MORE 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