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

bookChallenge: Employees Without Recent Salary Increase

Aufgabe

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ösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 5
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: Employees Without Recent Salary Increase

Swipe um das Menü anzuzeigen

Aufgabe

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ösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 5
single

single

some-alt