Osio 1. Luku 6
single
Challenge: Departmental Salary Insights
Pyyhkäise näyttääksesi valikon
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 6
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme