Challenge: Assign Performance Quartiles
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 4
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Suggested prompts:
Can you explain this in simpler terms?
What are the main benefits or drawbacks?
Can you give me a real-world example?
Incrível!
Completion taxa melhorada para 4.55
Challenge: Assign Performance Quartiles
Deslize para mostrar o menu
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 4
single