Gistrec

Сделать копию таблицы

Jun 15th, 2019
241
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.07 KB | None | 0 0
  1. CREATE TABLE table2 LIKE table1;
  2. INSERT INTO table2 SELECT * FROM table1;
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment