select cola
,split_part(colb, 'to', 1) col1
,split_part(colb, 'to', 2) col2
from t3
Citeret fra PostgreSQL-dokumentationen:
select cola
,split_part(colb, 'to', 1) col1
,split_part(colb, 'to', 2) col2
from t3
Citeret fra PostgreSQL-dokumentationen: