Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Employees Without Recent Salary Increase | Subqueries in Human Resources
Subqueries in SQL

bookChallenge: 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_id and name columns from the employees table.
  • Include only those employees for whom there is no record in the salaries table with a salary_date within the last year (on or after '2023-04-27').
  • Use a subquery in the WHERE clause to determine if such a salary record exists for each employee.

Løsning

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 5
single

single

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

close

bookChallenge: 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_id and name columns from the employees table.
  • Include only those employees for whom there is no record in the salaries table with a salary_date within the last year (on or after '2023-04-27').
  • Use a subquery in the WHERE clause to determine if such a salary record exists for each employee.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 5
single

single

some-alt