Challenge: Custom KPIs with CASE WHEN
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 6
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Genial!
Completion tasa mejorada a 5.56
Challenge: Custom KPIs with CASE WHEN
Desliza para mostrar el menú
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 6
single