PostgreSQL
 sql >> Database >  >> RDS >> PostgreSQL

Dividere un valore di colonna in due colonne in un SELECT?

select split_part(one_column, ' ', 1) AS part1, 
       split_part(one_column, ' ', 2)  AS part2 ...