The following is correct:
sql>select id, ST_Triangulate2DZ(ST_Collect(geom), 0) from basepoints id;MAPI = monetdb@localhost:55000
QUERY = select id, ST_Triangulate2DZ(ST_Collect(geom), 0) from basepoints id;
ERROR = !cannot use non GROUP BY column 'id' in query results without an aggregate function
sql>
This error message is incorrect:
sql>select ST_Triangulate2DZ(ST_Collect(geom), 0), id from basepoints id;
MAPI = monetdb@localhost:55000
QUERY = select ST_Triangulate2DZ(ST_Collect(geom), 0), id from basepoints id;
ERROR = !SELECT: identifier 'id' unknown
sql>
Hi,
The following is correct: sql>select id, ST_Triangulate2DZ(ST_Collect(geom), 0) from basepoints id;MAPI = monetdb@localhost:55000 QUERY = select id, ST_Triangulate2DZ(ST_Collect(geom), 0) from basepoints id; ERROR = !cannot use non GROUP BY column 'id' in query results without an aggregate function sql>
This error message is incorrect: sql>select ST_Triangulate2DZ(ST_Collect(geom), 0), id from basepoints id; MAPI = monetdb@localhost:55000 QUERY = select ST_Triangulate2DZ(ST_Collect(geom), 0), id from basepoints id; ERROR = !SELECT: identifier 'id' unknown sql>
Or at least miss leading.