2
I’m trying to sum the values from inside a column with postgres, the table structure is as follows:
id    |nome_municipio    |valores
1     |Porto Alegre      |100.01;95.0;50.1
2     |Ivoti             |87.0;80.1;45.1
3     |Novo Hamburgo     |210.0;99.2;100.0
I would like the end result to be
id    |nome_municipio    |valores   
1     |Porto Alegre      |245.2
2     |Ivoti             |207.2
3     |Novo Hamburgo     |409.2
That’s possible?
Postgres 9.1
Yes, with Stored Procedure. Directly in SQL no.
– Vinícius Gobbo A. de Oliveira