Challenge: Handle Missing Payment Methods
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 4. Chapitre 3
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Suggested prompts:
Can you explain this in simpler terms?
What are the next steps I should take?
Can you provide an example?
Génial!
Completion taux amélioré à 2.86
Challenge: Handle Missing Payment Methods
Glissez pour afficher le menu
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 4. Chapitre 3
single