Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Handle Missing Payment Methods | Logical Functions
Functions in SQL

bookChallenge: Handle Missing Payment Methods

Tarea

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 transactions table.
  • Replace any null value in the payment_method column with 'Unknown'.
  • The result should show 'Unknown' only where payment_method is null.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 4. Capítulo 3
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: Handle Missing Payment Methods

Desliza para mostrar el menú

Tarea

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 transactions table.
  • Replace any null value in the payment_method column with 'Unknown'.
  • The result should show 'Unknown' only where payment_method is null.

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 4. Capítulo 3
single

single

some-alt