This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with base as | |
( | |
SELECT * | |
FROM Product_Details_002 | |
where Product_ID is not null | |
), | |
inner_joined_cte as | |
( | |
select a. Order_ID, a. Product_ID as puller_Art, b. Product_ID as pulled_art | |
from base as a |
OlderNewer