Challenge: Predict Delivery Dates
Tarefa
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, andorder_datecolumns from theorderstable. - Calculate a new column named
predicted_delivery_dateby adding 5 days to theorder_datefor each row. - Use the appropriate SQL date arithmetic to add days to a date value.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 6
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 2.86
Challenge: Predict Delivery Dates
Deslize para mostrar o menu
Tarefa
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, andorder_datecolumns from theorderstable. - Calculate a new column named
predicted_delivery_dateby adding 5 days to theorder_datefor each row. - Use the appropriate SQL date arithmetic to add days to a date value.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 6
single