i have searched on the forum for a problem like that i face as i didn't found one , i start a new topic
I have a table named SubProduct
with the following structure:
ProductCode | SubProduct | Unit
11470060 | 11470060.DSP | 12
11470060.DSP | 11470060.EA | 12
12110957 | 12110957.DSP | 12
12110957.DSP | 12110957.EA | 50
I need to get to this result, but I can't reach it:
Parent Child Unit
11470060 | 11470060.DSP | 12
11470060 | 11470060.EA | 144 (12 * 12)
12110957 | 12110957.DSP | 12
12110957 | 12110957.EA | 600 (12 * 50)
Thanks for the help :)