Challenge: Assign Performance Quartiles
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 4
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Suggested prompts:
Can you explain this in simpler terms?
What are the main benefits or drawbacks?
Can you give me a real-world example?
Genial!
Completion tasa mejorada a 4.55
Challenge: Assign Performance Quartiles
Desliza para mostrar el menú
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 4
single