Hi Jürgen, yes, the column is ID. BTW, if I import the shapefile in SpatiaLite (or PostGIS) through DB Manager the same query works and I can easily load the file in QGIS.
Maybe GROUP BY function is not supported in Processing yet? Thanks Matteo
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer