Challenge: Predict Delivery Dates
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 6
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Чудово!
Completion показник покращився до 2.86
Challenge: Predict Delivery Dates
Свайпніть щоб показати меню
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 6
single