Challenge: Calculate Order Age
Tâche
Swipe to start coding
Write a query to calculate the number of days since each order was placed, using the orders table.
- Select the
order_idandorder_datecolumns. - Calculate the number of days between the current date and the
order_datefor each order. - Include this value in the result set as
days_since_order.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 2
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 main points I should remember?
Can you give me an example?
Génial!
Completion taux amélioré à 2.86
Challenge: Calculate Order Age
Glissez pour afficher le menu
Tâche
Swipe to start coding
Write a query to calculate the number of days since each order was placed, using the orders table.
- Select the
order_idandorder_datecolumns. - Calculate the number of days between the current date and the
order_datefor each order. - Include this value in the result set as
days_since_order.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 2
single