By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
1 rows affected
1 rows affected
1 rows affected
URL | (LENGTH(URL)-LENGTH(REPLACE(URL,'/',''))) |
---|---|
www.abc.com/product/coffee/ | 3 |
www.abc.com/product/coffee/caffee_name | 3 |
URL | REGEXP_COUNT(URL,'/') |
---|---|
www.abc.com/product/coffee/ | 3 |
www.abc.com/product/coffee/caffee_name | 3 |