Challenge: Apply Business Logic with CASE WHEN
Завдання
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_amountis 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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 2
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Чудово!
Completion показник покращився до 5.56
Challenge: Apply Business Logic with CASE WHEN
Свайпніть щоб показати меню
Завдання
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_amountis 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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 2
single