By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
2 rows affected
NAME | REGEXP_SUBSTR(BARCODE,'(.*?)(;|$)',1,LEVEL,NULL,1) |
---|---|
Apple | barcode1 |
Apple | barcode2 |
Apple | barcode3 |
Apple | null |
Apple | null |
Samsung | barcode1 |
Samsung | null |
Samsung | null |
Samsung | null |
NAME | BARCODE |
---|---|
Apple | barcode1 |
Apple | barcode2 |
Apple | barcode3 |
Apple | null |
Apple | null |
Samsung | barcode1 |
Samsung | null |
Samsung | null |
Samsung | null |