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

bookChallenge: Identify Consistent Top Performers

Tâche

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.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 8
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

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

Glissez pour afficher le menu

Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 8
single

single

some-alt