Answered step by step
Verified Expert Solution
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;
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.
Generate the list of all manager numbers of the projects that are over budget ie the projects
for which the actual cost exceeds the expected cost Do not include duplicate manager numbers.
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.
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.
Calculate the average expected cost for all projects managed by the manager named Yates.
Assume that you do not know Yates number.
Calculate the total actual cost for all projects not overbudgeted managed by Kanter.
List all managers include there name, number, and department for those who have
managed projects.
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!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started