php - copying data from multiple table and insert into one? -


i copy data multiple table , insert 1 table in same database. how can same php , mysql?

to general question, example insert query:

insert table3(col1, col2, col3, col4) select t1.col1, t1.col2, t2.col1, t2.col2 table1 t1, table2 t2 t1.idcolumn = t2.colid 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -