<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi everyone,<br>
    <br>
    I'm trying to make a quite simple query in Postgis but I have
    problems with it. I just want to create a buffer dissolved of a set
    of points. Only that.<br>
    <br>
    This is the query I'm using:<br>
    <font face="monospace"><br>
      SELECT  emt_paradas.id , ST_union(st_buffer(emt_paradas.geom,
      500)) FROM emt_paradas </font><br>
    <br>
    but when I try to execute this, tells me the field  <font
      face="monospace">emt_paradas.id</font> must be in the clause <font
      face="monospace">group by</font> but if I do that, the dissolve is
    not done.<br>
    <br>
    I'm in the DBManager of QGIS 2.6. I want to create this layer and
    load it in the canvas, for that DBManager asks me for an ID field,
    that's why I added <font face="monospace">emt_paradas.id</font> in
    the select. If i remove it, Postgis creates the geometrybut I can't
    load it in the canvas.<br>
    <br>
    Any help or guidance will be apreciate. <br>
    <br>
    Thanks a lot!!<br>
    <br>
    <br>
    <br>
  </body>
</html>