Challenge: Assign Performance Quartiles
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 4
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Suggested prompts:
Can you explain this in simpler terms?
What are the main benefits or drawbacks?
Can you give me a real-world example?
Fantastico!
Completion tasso migliorato a 4.55
Challenge: Assign Performance Quartiles
Scorri per mostrare il menu
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 4
single