[Solved] CS6360.001 Quiz 2

$25

File Name: CS6360.001__Quiz_2.zip
File Size: 169.56 KB

SKU: [Solved] CS6360.001 – Quiz 2 Category: Tag:
5/5 - (1 vote)

Database Design

Use COMPANY database schema and specify following queries in relational algebra.

  1. Retrieve the names of all employees in department 5 who work more than 10 hours per week on the ProductX project.
  1. List the names of all employees who have a dependent with the same first name as themselves.
  1. Find the names of all employees who are directly supervised by Franklin Wong.
  1. For each project, list the project name and the total hours per week (by all employees) spent on that project.
  1. Retrieve the names of all employees who work on every project.
  1. Retrieve the names of all employees who do not work on any project.
  1. For each department, retrieve the department name and the average salary of all employees working in that department.
  1. Retrieve the average salary of all female employees.
  1. Find the names and addresses of all employees who work on at least one project located in Houston but whose department has no location in Houston.
  1. List the last names of all department managers who have no dependents.

***

COMPANY Database Schema

Employee (FName, LName, SSN, BDate, Address, Gender, Salary, SuperSSN, DNo)

Department (DName, DNo, MgrSSN, MgrStartDate)

Project(PName, PNo, PLocation, DNo)

Works_On (SSN, PNo, Hours)

Dept_Location (Dno, DLocation)

Dependent (Essn, Dependent_name, Gender, Bdate, Relationship)

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CS6360.001 Quiz 2
$25