

INSERT INTO `orgno` ( `areacode`, `orgName`, `orgnum`, `active`)
select areacode, '西安市公安局', '610100000000', '' from police where
active=true and areaCode in ('612100','612000','611700','611600','611500','611800')
and orgtype='2' and areacode not in (
select areacode from orgno where active=true
);

