Hi there,<div>I need to create a field multilinestring / linestring, where the values are taken from a column of linestring</div><div><br></div><div>I need a result that consist in only one row and one col.<br>here my snipett sql:<br>

<br><div><div>SELECT ST_AsText(ST_Multi(ST_Collect(geom_way))) as singlegeom</div><div><span class="Apple-tab-span" style="white-space:pre">    </span> FROM emily_route</div><div>group by id</div></div></div><div><br></div>
<div>
but there are many rows as the table itself. and i don't know even if the 'singlegeom' is the <br>"array of the all the geometry in the emili_route table".<br><br>If i remove the group by the results is an empty table 1x1 (only the table dimension is right:))<br>

<br>any helps please?</div>