Returns a linestring built from the ordered points in a group.
BEGIN DECLARE LOCAL TEMPORARY TABLE t_points( pk INT PRIMARY KEY, p ST_Point ); INSERT INTO t_points VALUES( 1, 'Point( 0 0 )' ); INSERT INTO t_points VALUES( 2, 'Point( 2 0 )' ); INSERT INTO t_points VALUES( 3, 'Point( 1 1 )' );SELECT ST_LineString::ST_LineStringAggr( p ORDER BY pk ) FROM t_points; END
SQL/MM (ISO/IEC 13249-3: 2006) Vendor extension