Apache OpenOffice (AOO) Bugzilla – Issue 28181
Group by statement
Last modified: 2006-05-31 14:29:06 UTC
On query builder we were not able to obtain any type of group by clause. We try on Italian version and English version too, with both odbc:postgres and sdbc:postgres. This feature was functioning on 1.0.x and also 1.1.0. To replay to problem try select a, sum(b) from c group by a
This is the real sql sent to postgres. I obtained this one using the sdbc:postgres driver pq_driver: [PGRES_FATAL_ERROR]ERROR: Attribute uservizi.sez must be GROUPed or used in an aggregate function (caused by statement 'SELECT "sez", SUM( "dip" ) FROM "public"."uservizi" "uservizi" WHERE 0 = 1')
This is a duplicate of issue 27286. *** This issue has been marked as a duplicate of 27286 ***
As such, it should be fixed in 1.1.2