I have two tables, t1 has 2 columns and table2 has 3 columns.
I would like to insert values of t1 col1 and t1 col2 into `t2 of one column.
Answer (1)
hi here is code
INSERT INTO t2 (col1)
SELECT col1 FROM t1;
INSERT INTO t2 (col2)
SELECT col2 FROM t1;