I have two layers. One is MultiLineString and the other is MultiPolygon.
I am trying to erase lines that are on the polygon feature With QGIS difference tool, it worked just fine
This is my code and I do not understand what is wrong with my query. I do not see anything wrong.
select a.objectid, st_difference(a.geom, b.geom) as shape
from line a, mesh b
limit 500