Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: Custom KPIs with CASE WHEN | CASE WHEN for Business Logic
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL for Business Intelligence Analysts

bookChallenge: 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_amount for all orders where total_amount is greater than 500 as high_value_sales.

Soluzione

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 6
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

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?

close

bookChallenge: 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_amount for all orders where total_amount is greater than 500 as high_value_sales.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 6
single

single

some-alt