By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Product | Component | Quantity | Line_Number |
---|---|---|---|
Product1 | Part1 | 1 | 1 |
Product1 | Part2 | 1 | 2 |
Product1 | Part3 | 16 | 3 |
Product1 | Part4 | 8 | 4 |
Product9 | Part8 | 5 | 1 |