By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
2 rows affected
1 rows affected
3 rows affected
| id | formattedid | abcd_code | material_id | supplier_id | plant_id | pc_id |
|---|---|---|---|---|---|---|
| Automatically Generated | B50003/5200 | 1 | b4a1 | null | cbf2 | a |
| Automatically Generated | B50003/5200/SD501 | 1 | b4a1 | 3527 | cbf2 | a |
| Automatically Generated | B50003/5201 | 1 | b4a1 | null | b3aa | a |
| Automatically Generated | B50003/5201/SD501 | 1 | b4a1 | 3527 | b3aa | a |
| Automatically Generated | B50004/5200 | 1 | 97bb | null | cbf2 | b |
| Automatically Generated | B50004/5200/SD501 | 1 | 97bb | 3527 | cbf2 | b |
| Automatically Generated | B50004/5201 | 1 | 97bb | null | b3aa | b |
| Automatically Generated | B50004/5201/SD501 | 1 | 97bb | 3527 | b3aa | b |