Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USE ProjectManagement; / * 1 . Generate the list of all managers ( showing the manager number and manager name, in that order ) for

USE ProjectManagement;
/*1. Generate the list of all managers (showing the manager number and manager name, in that order)
for which each manager number includes the character zero. Sort the result in descending order of manager name.*/
/*2. Generate the list of all manager numbers of the projects that are over budget (i.e., the projects
for which the actual cost exceeds the expected cost). Do not include duplicate manager numbers.*/
/*3. Generate a list of all managers (showing the manager name and manager number) who work in
the Finance department. List the names in inverse alphabetical order.*/
/*4.(difficult one!) List the project name and expected cost for the projects that have an expected cost
greater than the average expected cost for all projects. (Hint: Use a nested query.)*/
/*5. Calculate the average expected cost for all projects managed by the manager named Yates.
(Assume that you do not know Yates number.)*/
/*6. Calculate the total actual cost for all projects not over-budgeted managed by Kanter.*/
/*7. List all managers (include there name, number, and department) for those who have
managed projects. */
/*8. List all managers (include there name, number, and department) for those who have
managed projects and those who have not. Display in a single result set.
(Hint: use a left or right join this time!).*/
image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

What was the role of the team leader? How was he or she selected?

Answered: 1 week ago

Question

What were the issues and solutions proposed by each team?

Answered: 1 week ago