Update sql

Update sql for ST_Difference, ST_SymDifference and ST_Intersection