Sectie 1. Hoofdstuk 6
single
Challenge: 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
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 6
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.