Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Identify Consistent Top Performers | Ranking and Analytic Window Functions
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Window Functions in SQL

bookChallenge: Identify Consistent Top Performers

Uppgift

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.

Lösning

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 8
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

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

Svep för att visa menyn

Uppgift

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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 8
single

single

some-alt