By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
1 rows affected
| NAME | ADDRESS | REGEXP_COUNT(T.ADDRESS,';')+1 |
|---|---|---|
| CompanyA | 119021, foo, a 16; 117312, barn a 19 | 2 |
| REGEXP_SUBSTR |
|---|
| 119021, foo, a 16 |
| 117312, barn a 19 |
2 rows affected
| NAME | REGEXP_SUBSTR |
|---|---|
| CompanyA | 119021, foo, a 16 |
| CompanyA | 117312, barn a 19 |