I want to copy datas from the first table to another table. Both tables have common columns. This is the representation
table1 has already data. table 1:
id | employeeName | sectionCode | teamCode| day1 | day2 |
1 eric 400 315
and table2 has no data yet. table 2:
id | employeeName | sectionCode | teamCode | day1_a | day_b |
i want to copy the data inside table 1 to table 2 but only the common columns. So that i don't need to enter data in table 2 manually.
i tried this question but it's different.