Advertisement
Guest User

Untitled

a guest
Jul 28th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. # to insert
  2. INSERT INTO myschema.example_table (col1, col2, col3)
  3. VALUES ("a.com", "gyuho", 10.0)
  4. ;
  5.  
  6. INSERT INTO myschema.example_table (col1, col2, col3)
  7. VALUES ("a.com", "gyuho", 10.0),
  8. ("b.com", "gyuho", 11.0),
  9. ("c.com", "gyuho", 12.0)
  10. ;
  11.  
  12. INSERT INTO myschema.example_table
  13. SELECT * FROM myschema.different_table
  14. ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement