Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . Write a query ( with subquery ) that returns the employee ( s ) with the longest last name 2 . Return the

1. Write a query (with subquery) that returns the employee(s) with the
longest last name
2. Return the first and last name of the employees who have one of the 10
most common first names in the company, using the employees table.
3. Using the salaries table, find the current average salary, after removing
the 10 lowest salaries and the 10 highest salaries. (Aside: in statistical
analysis, this method is also referred to as capping).
4. Return the first and last name of the employees who have one of the
10 most common first names in the company, using the employees table.
Write this in CTE format, not in IN subquery format.

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

Step: 3

blur-text-image

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

Mysql Examples Explanations Explain Examples

Authors: Harry Baker ,Ray Yao

1st Edition

B0CQK9RN2J, 979-8872176237

More Books

Students also viewed these Databases questions

Question

Liking: How much do you like or dislike each of the ones you know?

Answered: 1 week ago