Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Challenge: Departmental Salary Insights | CTE Fundamentals and Syntax
Practice
Projects
Quizzes & Challenges
Quizzen
Challenges
/
Mastering Common Table Expressions (CTEs) in SQL
Sectie 1. Hoofdstuk 6
single

single

bookChallenge: Departmental Salary Insights

Veeg om het menu te tonen

Taak

Swipe to start coding

Create a query using nested CTEs to identify departments with an average employee salary above $60,000, and then list all employees working in those departments.

  • Calculate the average salary for each department.
  • Identify departments where the average salary is greater than $60,000.
  • Select all employees who belong to those departments, including their names, salary, and department name.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 6
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

some-alt