Challenge: Handle Missing Payment Methods
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 4. Hoofdstuk 3
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Suggested prompts:
Can you explain this in simpler terms?
What are the next steps I should take?
Can you provide an example?
Geweldig!
Completion tarief verbeterd naar 2.86
Challenge: Handle Missing Payment Methods
Veeg om het menu te tonen
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 4. Hoofdstuk 3
single