Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära 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

Uppgift

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 allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 5
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

close

bookChallenge: Employees Without Recent Salary Increase

Svep för att visa menyn

Uppgift

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 desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 5
single

single

some-alt