Skip to content

Instantly share code, notes, and snippets.

@rcerrejon
Created February 12, 2016 13:28
Show Gist options
  • Save rcerrejon/4002b60f806e2a452ce4 to your computer and use it in GitHub Desktop.
Save rcerrejon/4002b60f806e2a452ce4 to your computer and use it in GitHub Desktop.
Insert all values of a table into another table
INSERT INTO new_table (Foo,Bar,Fizz,Buzz)
SELECT Foo,Bar,Fizz,Buzz
FROM old_table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment