Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Please Answer all 8 . / * 1 . Generate the list of all managers ( showing the manager number and manager name, in that

Please Answer all 8.
/*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

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 1 Lncs 13426

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124227, 978-3031124228

More Books

Students explore these related Databases questions