Секція 1. Розділ 21
single
Challenge: Handle Missing Payment Methods
Свайпніть щоб показати меню
Завдання
Swipe to start coding
Write a query to handle missing payment methods in the transactions table. Your goal is to display all columns, but if the payment_method is null, show 'Unknown' instead.
- Select all columns from the
transactionstable. - Replace any null value in the
payment_methodcolumn with'Unknown'. - The result should show
'Unknown'only wherepayment_methodis null.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 21
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат