php - MySQL concatenate two tables -


this question has answer here:

i have 2 mysql tables same structure , want import data 1 of tables other one. run codeigniter , tried select data 1 of tables , insert other doesn't seem work good.

table structure: url, text, source, img, date

insert table1 select * table2

or can exclude id column, such:

insert table1 (url,text,source,img,date) select url, text, source, img, date table2 

Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -