Challenge: Employees Without Recent Salary Increase
Oppgave
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.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 5
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Employees Without Recent Salary Increase
Sveip for å vise menyen
Oppgave
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.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 5
single