Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Assign Performance Quartiles | Ranking and Analytic Window Functions
Window Functions in SQL

bookChallenge: Assign Performance Quartiles

Завдання

Swipe to start coding

Write a query to assign each employee to a performance quartile using NTILE based on their average review score.

  • Calculate the average review score for each employee.
  • Use NTILE(4) to divide employees into four quartiles based on their average review score, with quartile 1 being the highest scores.
  • Return each employee's ID, name, average score, and their assigned performance quartile.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 4
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

bookChallenge: Assign Performance Quartiles

Свайпніть щоб показати меню

Завдання

Swipe to start coding

Write a query to assign each employee to a performance quartile using NTILE based on their average review score.

  • Calculate the average review score for each employee.
  • Use NTILE(4) to divide employees into four quartiles based on their average review score, with quartile 1 being the highest scores.
  • Return each employee's ID, name, average score, and their assigned performance quartile.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 4
single

single

some-alt