I have a SpatiaLite database with some multipolygon layers loaded.
What I would like to do is to merge (not dissolve) 2 layers into 1. Both layers have the same SRID and same field name (they are a result of the same algorithm).
I'm looking for a SpatiaLite funcion that does the same thing of QGIS -> Union.
Is there a simple comand to do that?
My solution, using @Alexandre's suggestions:
CREATE TABLE merged AS SELECT * FROM layer1 UNION ALL SELECT * FROM layer2; SELECT RecoverGeometryColumn('merged', 'Geometry', 32632, 'MULTIPOLYGON', 'XY');