Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Predict Delivery Dates | Date and Time Functions
Functions in SQL

bookChallenge: Predict Delivery Dates

Tarea

Swipe to start coding

Predicting delivery dates is a common use case for date functions in SQL. In this challenge, you will use the orders table to estimate when each order will be delivered by adding 5 days to its order_date.

  • Select the order_id, customer_id, and order_date columns from the orders table.
  • Calculate a new column named predicted_delivery_date by adding 5 days to the order_date for each row.
  • Use the appropriate SQL date arithmetic to add days to a date value.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 6
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: Predict Delivery Dates

Desliza para mostrar el menú

Tarea

Swipe to start coding

Predicting delivery dates is a common use case for date functions in SQL. In this challenge, you will use the orders table to estimate when each order will be delivered by adding 5 days to its order_date.

  • Select the order_id, customer_id, and order_date columns from the orders table.
  • Calculate a new column named predicted_delivery_date by adding 5 days to the order_date for each row.
  • Use the appropriate SQL date arithmetic to add days to a date value.

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 2. Capítulo 6
single

single

some-alt