An another solution for a basic use (just merge all polygons)
Select ST_Union(the_geom_webmercator) as the_geom_webmercator
FROM Tablename
group by cartodb_id:
Bo
Select ST_Union(the_geom_webmercator) as the_geom_webmercator
FROM Tablename
group by cartodb_id