Created
December 4, 2012 13:50
-
-
Save aitor/4204061 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO n64w022_c10 (the_geom, height, id) VALUES( | |
SELECT the_geom, height, id | |
FROM n64w021_c10 | |
); | |
// ERROR: syntax error at or near "INTO" | |
// LINE 1: SELECT * FROM (INSERT INTO n64w022_c10 (the_geom, height, id... ^ |
INSERT INTO n64w022_c10 (the_geom, height, id) SELECT the_geom, height, id FROM n64w021_c10;
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
INSERT INTO n64w022_c10 (the_geom, height, id) VALUES( SELECT the_geom, height, id FROM n64w021_c10);