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
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Subqueries in SQL

bookChallenge: Employees Without Recent Salary Increase

Opgave

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

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 5
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

close

bookChallenge: Employees Without Recent Salary Increase

Stryg for at vise menuen

Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 5
single

single

some-alt