tabel1:
中文名字 条形码 说明书 编号
zwmz txm sm bh
百多邦 34569745 外用 1
如何把它添加如下两表:
tabel2:
name bianhao
百多邦 1tabel3
shuoming tm
外用 34569745
中文名字 条形码 说明书 编号
zwmz txm sm bh
百多邦 34569745 外用 1
如何把它添加如下两表:
tabel2:
name bianhao
百多邦 1tabel3
shuoming tm
外用 34569745
insert table3(shuoming,tm) select sm,txm from table1
insert into table2 (name,bianhao) select zwmz,bh from table1Delete from table3
inset into table3 (shuoming,tm) select sm,txm from table1