Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. CREATE TABLE 'new_table_name' LIKE 'your_table_name';
  2.  
  3. INSERT INTO New_table SELECT * FROM Old_table1,Old_table2 GROUP BY ID;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement