Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SQL Queries DEPT LOCATIONS PROJECT Specify the following queries on the EMPLOYEE COMPANY relational database schema Frame Minit Lame Sen Bdate Address Sex Salary Super_san

SQL Queries

image text in transcribed

DEPT LOCATIONS PROJECT Specify the following queries on the EMPLOYEE COMPANY relational database schema Frame Minit Lame Sen Bdate Address Sex Salary Super_san Do shown in the Figure using relational DEPARTMENT algebra. Drame Dnumber Mgr_ssn Mgr_start date a) Retrieve the names of all employees in department 5 who work more than Drumber Dlocation 10 hours per week on the ProductX project. Phame Pumber Plocation Drum b) List the names of all employees who WORKS ON have a dependent with the same first Essn Pho Hours name as themselves. DEPENDENT c) Find the names of all employees who Esan Dependent_name Sex Bdate Relationship are directly supervised by 'Franklin Wong d) For each project, list the project name and the total hours per week (by all employees) spent on that project. e) 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. f) List the last names of all department managers who have no dependents

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

Why do organizations group activities by function?

Answered: 1 week ago