Skip to main content
5 of 5
removed fluff
Martin F
  • 9k
  • 38
  • 60

Try something like this

SELECT DISTINCT ON (boundary.id) boundary.*
FROM boundary, location
WHERE ST_Intersects (boundary.geom, location.geom)
Martin F
  • 9k
  • 38
  • 60