Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Identify Consistent Top Performers | Ranking and Analytic Window Functions
Window Functions in SQL

bookChallenge: Identify Consistent Top Performers

Tarea

Swipe to start coding

Write a query to identify employees who have been in the top performance quartile for at least two consecutive reviews.

  • Assign each employee's review to a quartile for each review_date, with the highest scores in quartile 1.
  • Identify employees who have had at least two consecutive reviews where they were in the top quartile.
  • Return the employee_id and name of these employees.
  • Ensure each qualifying employee appears only once in the results.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 8
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

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: Identify Consistent Top Performers

Desliza para mostrar el menú

Tarea

Swipe to start coding

Write a query to identify employees who have been in the top performance quartile for at least two consecutive reviews.

  • Assign each employee's review to a quartile for each review_date, with the highest scores in quartile 1.
  • Identify employees who have had at least two consecutive reviews where they were in the top quartile.
  • Return the employee_id and name of these employees.
  • Ensure each qualifying employee appears only once in the results.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 8
single

single

some-alt