Challenge: Calculate Order Age
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 2
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Geweldig!
Completion tarief verbeterd naar 2.86
Challenge: Calculate Order Age
Veeg om het menu te tonen
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 2
single