Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Recently Hired Employees | Subqueries in Human Resources
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Subqueries in SQL

bookChallenge: Recently Hired Employees

Tarefa

Swipe to start coding

List all employees who were hired in the last 6 months using a subquery. Use the employees table and filter by hire_date so that only those hired within the last 6 months (relative to the current date) are included. The subquery should determine the date 6 months before the current date.

  • Use a subquery to calculate the cutoff date as 6 months before the current date.
  • Select all columns from the employees table for employees with a hire_date on or after this cutoff date.
  • Only include employees who meet this recent hire date criteria.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 3
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: Recently Hired Employees

Deslize para mostrar o menu

Tarefa

Swipe to start coding

List all employees who were hired in the last 6 months using a subquery. Use the employees table and filter by hire_date so that only those hired within the last 6 months (relative to the current date) are included. The subquery should determine the date 6 months before the current date.

  • Use a subquery to calculate the cutoff date as 6 months before the current date.
  • Select all columns from the employees table for employees with a hire_date on or after this cutoff date.
  • Only include employees who meet this recent hire date criteria.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 3
single

single

some-alt