数据表插入问题
我有两个表table1 table2.
table1中有数据 字段dm,字段mc.
table2中没有数据,需要从table1中提取数据插入到table2中
table2中的字段 dm1,mc1,dm2,mc2,dm3,mc3
table1中的dm 值为10,11,1001,1002,1101,100101,100102
table2中需要的是10,mc,1001,mc,100101,mc
10,mc,1001,mc,100102,mc
10,mc, 1002, mc
11 mc 1101
需要的是这种结果!
请大家帮忙