Challenge: Employees Without Recent Salary Increase
Tâche
Swipe to start coding
Identify employees who have not received a salary increase in the past year. Use a subquery to check for the absence of recent salary records.
- Select the
employee_idandnamecolumns from theemployeestable. - Include only those employees for whom there is no record in the
salariestable with asalary_datewithin the last year (on or after '2023-04-27'). - Use a subquery in the
WHEREclause to determine if such a salary record exists for each employee.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 5
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 5.56
Challenge: Employees Without Recent Salary Increase
Glissez pour afficher le menu
Tâche
Swipe to start coding
Identify employees who have not received a salary increase in the past year. Use a subquery to check for the absence of recent salary records.
- Select the
employee_idandnamecolumns from theemployeestable. - Include only those employees for whom there is no record in the
salariestable with asalary_datewithin the last year (on or after '2023-04-27'). - Use a subquery in the
WHEREclause to determine if such a salary record exists for each employee.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 5
single