clone 1 bảng sang 1 bảng mới trong mysql

 CREATE TABLE table_new LIKE table_old;


INSERT INTO table_new SELECT * FROM table_old

Comments

Popular posts from this blog

Các câu hỏi liên quan đến restful API

Active record (Eloquent) trong Laravel và Data Mapper (Doctrine) trong Symfony

CI/CD diagram, infra