Two Orders Before, Two Orders After: The Price Prophecy

4. Two Orders Before, Two Orders After: The Price Prophecy

Analyze price changes across the timeline of trade.

Xorthax wants to analyze price trends for products over time. For each Product ID, find the Order Date, Quantity, current unit price and the unit price two orders before and after the current order date.
Write Your Query