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

Tehtävä

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.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 5
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

Suggested prompts:

Can you explain this in simpler terms?

What are the main points I should remember?

Can you give me an example?

close

bookChallenge: Employees Without Recent Salary Increase

Pyyhkäise näyttääksesi valikon

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 5
single

single

some-alt