Perhaps, it missing a "group by" operator ?
SELECT f.id AS oid, ST_Multi(ST_Union(f.the_geom)) as the_geom FROM ( SELECT id, ST_Dump(the_geom)).geom As the_geom FROM v_tmp
) As f
group by
f.id
Regards,
Andrea.
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user
