Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Apply Business Logic with CASE WHEN | CASE WHEN for Business Logic
SQL for Business Intelligence Analysts

bookChallenge: Apply Business Logic with CASE WHEN

Tarefa

Swipe to start coding

Use CASE WHEN statements to apply business logic for labeling orders and categorizing products.

  • For orders, assign a label of 'High' to each order where total_amount is greater than or equal to 500. Assign a label of 'Standard' to all other orders.
  • For products, assign a label of 'Tech' to each product that belongs to the 'Electronics' category. Assign a label of 'Other' to all other products.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 2
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: Apply Business Logic with CASE WHEN

Deslize para mostrar o menu

Tarefa

Swipe to start coding

Use CASE WHEN statements to apply business logic for labeling orders and categorizing products.

  • For orders, assign a label of 'High' to each order where total_amount is greater than or equal to 500. Assign a label of 'Standard' to all other orders.
  • For products, assign a label of 'Tech' to each product that belongs to the 'Electronics' category. Assign a label of 'Other' to all other products.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 2
single

single

some-alt