I need to find out the minimum distance between cities that have a shape_area greater than 1000m^2. I'm using Postgresql and PostGis and my table looks like this:
CREATE TABLE "cities" (gid serial,
"city_id" int4,
"city" varchar(21),
"shape_area" numeric);
SELECT AddGeometryColumn('','cities','geom','26986','MULTIPOLYGON',2);