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

bookChallenge: Apply Business Logic with CASE WHEN

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 2
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

close

bookChallenge: Apply Business Logic with CASE WHEN

Desliza para mostrar el menú

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 2
single

single

some-alt