Order Details
Final State
Initial State
Start 3.1.yxdb
Start 3.1.yxdb
Practice Exercise 3
Combine the customer information from the last exercise with "Order Details" to find the Total and Total Saved for each order.
Combine the customer information in "Start 3.1" with the "Order Details".
Ensure both the "Order Date" and "Ship Date" columns are formatted as "date" datatype.
Find the number of days to ship after the order was placed for each line item.
Also calculate the subtotal for each line item (discount and shipping are flat costs, not per quantity).
Finally, find the Total cost for each order, the "Total Saved" for each order, and the minimum days to ship any line item within each order.
Order Details.yxdb
Order Details.yxdb
Final State - Exercise 3.yxdb
Final State - Exercise 3.yxdb
C:\Users\H08374~1\AppData\Local\Temp\Engine_34012_0c29e1104f834fa2b6fa4dd34b9e699a_\Engine_66528_07be0bf7092548cb9d5a98f8758003fb_.yxdb
Single
Profile
Ship Date
MM/dd/yyyy
Ship Date Out
Convert Ship Date From:
MM/dd/yyyy
C:\Users\H08374~1\AppData\Local\Temp\Engine_34012_0c29e1104f834fa2b6fa4dd34b9e699a_\Engine_66528_ac4413eee3f341f1891a9d34505b0ce0_.yxdb
Single
Profile
C:\Users\H08374~1\AppData\Local\Temp\Engine_34012_0c29e1104f834fa2b6fa4dd34b9e699a_\Engine_66528_47c0395d1a1e49768049e56943f59cd7_.yxdb
Single
Profile
C:\Users\H08374~1\AppData\Local\Temp\Engine_34012_0c29e1104f834fa2b6fa4dd34b9e699a_\Engine_66528_486e49e30ec14971bc921cc986431ef4_.yxdb
Single
Profile
C:\Users\H08374~1\AppData\Local\Temp\Engine_34012_0c29e1104f834fa2b6fa4dd34b9e699a_\Engine_66528_ac83233fe50f4137b2e7b20e4406b933_.yxdb
Single
Profile
C:\Users\H08374~1\AppData\Local\Temp\Engine_34012_0c29e1104f834fa2b6fa4dd34b9e699a_\Engine_66528_f46b223ea33c47658a5594da9989a182_.yxdb
Single
Profile
C:\Users\H08374~1\AppData\Local\Temp\Engine_34012_0c29e1104f834fa2b6fa4dd34b9e699a_\Engine_66528_bf968eec225b43deb435e50d460b917f_.yxdb
Single
Profile
C:\Users\H08374~1\AppData\Local\Temp\Engine_34012_0c29e1104f834fa2b6fa4dd34b9e699a_\Engine_66528_48304336e5e843fbb4a2e4a1171d4c21_.yxdb
Single
Profile
C:\Users\H08374~1\AppData\Local\Temp\Engine_34012_0c29e1104f834fa2b6fa4dd34b9e699a_\Engine_66528_ee7dd5e10e4148c3aba28aef7be45aa2_.yxdb
Single
Profile
C:\Users\H08374~1\AppData\Local\Temp\Engine_34012_0c29e1104f834fa2b6fa4dd34b9e699a_\Engine_66528_c21aa37e22a849049b00cc7d067c5b2c_.yxdb
Single
Profile
C:\Users\H08374~1\AppData\Local\Temp\Engine_34012_0c29e1104f834fa2b6fa4dd34b9e699a_\Engine_66528_9f5c58efc3354e8a870eab2703e8f604_.yxdb
Single
Profile
Total Cost minus Discount = ([Unit_Price]*[Quantity_ordered_new])+[Shipping_Cost...
C:\Users\H08374~1\AppData\Local\Temp\Engine_34012_0c29e1104f834fa2b6fa4dd34b9e699a_\Engine_66528_693f52d8e1e74af99d1902d8638e4a8c_.yxdb
Single
Profile
C:\Users\H08374~1\AppData\Local\Temp\Engine_34012_0c29e1104f834fa2b6fa4dd34b9e699a_\Engine_66528_91b52fb6b3ef4a0680d6c4c9602bbc41_.yxdb
Single
Profile
Horizontal
Practice Exercise 3_JS_solution_V2