Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the database schema above write and execute the queries below and paste the screenshots of the result of each query below each question: 1.

image text in transcribed
image text in transcribed
Using the database schema above write and execute the queries below and paste the screenshots of the result of each query below each question: 1. List the first name and last name of employee(s) who are supervised by "James Bord". Hint: Use inner query with IN operator. If there are duplications in the resultant list then use DISTINCT keyword in the SELECT clause of the outer query. 2. How many projects do the departments other than the administration department control? List the department name and the number of projects it controls. Hint: Use inner query with IN or NOT IN operator 3. What is the total salary paid to the employees working on the "Computerization" project? Hint: Use innter query with IN operator 4. What is the average salary paid to the employees working on the projects other than the project "ProductZ"? Hint: Use innter query with IN or NOT IN operator 5. List the first name and last name of employee(s) who are supervised by supervisors "James Bord" or "Franklin Wong"? Hint: Use set operator UNION

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

Students also viewed these Databases questions

Question

What is conservative approach ?

Answered: 1 week ago

Question

What are the basic financial decisions ?

Answered: 1 week ago