Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use basic queries in SQL to retrieve the following information ( report the SQL query as text and output / results of the query as
Use basic queries in SQL to retrieve the following information report the
SQL query as text and outputresults of the query as screenshot in the PDF
report:
Find the names of all employees who are working on the two project
Middleware and DatabaseSystems
Find the names of all employees who are working on the project
DatabaseSystems and have worked more than hours.
For every project located in Houston, list the project number, the
controlling department number, and the department managers last
name, address, and birth date.
For each employee, retrieve the employees first and last name and the
first and last name of his or her supervisor.
Retrieve female employees whose address is in Houston, TX use
Pattern Matching LIKE operator
Find all employees who were born in June month use MONTH
operator
For each department, retrieve the department name and the average
salary of all employees working in that department.
Retrieve the names of employees who are not assigned any project.
Retrieve the names of all employees in department who earn more
than and work on LaserPrinters project.
List the names of all employees who are from HoustonTX and work
under the managers personal number
Retrieve the names of employees who work in the department that has
the employees with the highest salary among all departments Use
nested queries and AVGsalary in the department
For each department whose average employee salary is more than
retrieve the department number, name, and the number of
employees working for that department.
Retrieve the names ordered alphabetically and the relationship of
dependents whose employees supervisor has for Snn
For every project, list the project name, and the total amount of hours
worked on each project, and the total amount of employees worked on
each project.
For every department, list the department name, number of projects,
and number of employees.
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