I am trying to write a sql to query one land parcel for intersections between itself. I can do this fairly easy in QGIS using topology checker but i don’t know why this does not produce the correct results.
select * from land_parcel as a
join land_parcel as b where
ST_Intersects (a.geom,b.geom) and a.gid <>b.gid