Challenge: Custom KPIs with CASE WHEN
Compito
Swipe to start coding
Write SQL queries to create custom business metrics using CASE WHEN inside aggregation functions.
- Return the count of orders that have a status of 'Delivered' as
completed_orders. - Return the sum of
total_amountfor all orders wheretotal_amountis greater than 500 ashigh_value_sales.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 6
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 points I should remember?
Can you give me an example?
Fantastico!
Completion tasso migliorato a 5.56
Challenge: Custom KPIs with CASE WHEN
Scorri per mostrare il menu
Compito
Swipe to start coding
Write SQL queries to create custom business metrics using CASE WHEN inside aggregation functions.
- Return the count of orders that have a status of 'Delivered' as
completed_orders. - Return the sum of
total_amountfor all orders wheretotal_amountis greater than 500 ashigh_value_sales.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 6
single