I have two layers. One is MultiLineString and the other is MultiPolygon. [![enter image description here][1]][1] 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 ``` The results return line segments that are also in the mesh. [![enter image description here][2]][2] [1]: https://i.sstatic.net/6JQaF.png [2]: https://i.sstatic.net/Y4yuX.png