淘先锋技术网

首页 1 2 3 4 5 6 7

insert into enterpriseinfo (id,code,enterpriseName,prefecture,plevel,etype) select dw.id,dw.code,dw.name enterpriseName,d.code prefecture,dw.levl plevel,2 etype
from jyjc.danwei dw left join jyjc.diqu d on d.id = dw.diqu  where dw.levl <> 0;