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

Aufgabe

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ösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 8
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

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

Swipe um das Menü anzuzeigen

Aufgabe

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ösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 8
single

single

some-alt