Question
1. Find the names of employees who work on the Eagle project and has a rate greater than 70. 2. Find the names of the
1. Find the names of employees who work on the Eagle project and has a rate greater than 70. 2. Find the names of the projects that have employees with rates greater or equal to 80. 3. Find the names of the employees who work on projects that are located in the same city where the employees are located. 4. Find the names of employees who are not working on any projects. 5. Find the average rate of the employees who work on project Eagle. 6. Find the names of the employees who work on more than one project. Display the results in descending order. Using SQL, solve the following queries based on the projects, employees, workon, and rate tables discussed in the class (shown below).
projects PROJECT_NUMBER PROJECT_NAME PROJECT_CITY Eagle Super Jet workon PROJECT_NUMBER EMP_ID 10 10 employ EMP ID EMP NAME RATE_CATEGORY EMP CITY 10 Smith eSmith Smithe eSmithe SF LA SD 20 15 rate RATE CATEGORY RATE 100 80 60 50
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