Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære 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

Oppgave

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

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 8
single

single

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

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

Sveip for å vise menyen

Oppgave

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 desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 8
single

single

some-alt