sql
CREATE TABLE `area` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`code` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '编码',
`name` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '名称',
`parent_code` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '父级编码,0为顶级',
`level` int(2) DEFAULT NULL COMMENT '数据层级',
PRIMARY KEY (`id`),
UNIQUE KEY `code` (`code`) USING BTREE
) ENGINE=InnoDB COMMENT='区域数据';
省数据
sql
insert into area(id,code,name,parent_code,level) values(1,'110000','北京市',0,1);
insert into area(id,code,name,parent_code,level) values(2,'120000','天津市',0,1);
insert into area(id,code,name,parent_code,level) values(3,'130000','河北省',0,1);
insert into area(id,code,name,parent_code,level) values(4,'140000','山西省',0,1);
insert into area(id,code,name,parent_code,level) values(5,'150000','内蒙古自治区',0,1);
insert into area(id,code,name,parent_code,level) values(6,'210000','辽宁省',0,1);
insert into area(id,code,name,parent_code,level) values(7,'220000','吉林省',0,1);
insert into area(id,code,name,parent_code,level) values(8,'230000','黑龙江省',0,1);
insert into area(id,code,name,parent_code,level) values(9,'310000','上海市',0,1);
insert into area(id,code,name,parent_code,level) values(10,'320000','江苏省',0,1);
insert into area(id,code,name,parent_code,level) values(11,'330000','浙江省',0,1);
insert into area(id,code,name,parent_code,level) values(12,'340000','安徽省',0,1);
insert into area(id,code,name,parent_code,level) values(13,'350000','福建省',0,1);
insert into area(id,code,name,parent_code,level) values(14,'360000','江西省',0,1);
insert into area(id,code,name,parent_code,level) values(15,'370000','山东省',0,1);
insert into area(id,code,name,parent_code,level) values(16,'410000','河南省',0,1);
insert into area(id,code,name,parent_code,level) values(17,'420000','湖北省',0,1);
insert into area(id,code,name,parent_code,level) values(18,'430000','湖南省',0,1);
insert into area(id,code,name,parent_code,level) values(19,'440000','广东省',0,1);
insert into area(id,code,name,parent_code,level) values(20,'450000','广西壮族自治区',0,1);
insert into area(id,code,name,parent_code,level) values(21,'460000','海南省',0,1);
insert into area(id,code,name,parent_code,level) values(22,'500000','重庆市',0,1);
insert into area(id,code,name,parent_code,level) values(23,'510000','四川省',0,1);
insert into area(id,code,name,parent_code,level) values(24,'520000','贵州省',0,1);
insert into area(id,code,name,parent_code,level) values(25,'530000','云南省',0,1);
insert into area(id,code,name,parent_code,level) values(26,'540000','西藏自治区',0,1);
insert into area(id,code,name,parent_code,level) values(27,'610000','陕西省',0,1);
insert into area(id,code,name,parent_code,level) values(28,'620000','甘肃省',0,1);
insert into area(id,code,name,parent_code,level) values(29,'630000','青海省',0,1);
insert into area(id,code,name,parent_code,level) values(30,'640000','宁夏回族自治区',0,1);
insert into area(id,code,name,parent_code,level) values(31,'650000','新疆维吾尔自治区',0,1);
insert into area(id,code,name,parent_code,level) values(32,'710000','台湾省',0,1);
insert into area(id,code,name,parent_code,level) values(33,'810000','香港特别行政区',0,1);
insert into area(id,code,name,parent_code,level) values(34,'820000','澳门特别行政区',0,1);
市数据
sql
insert into area(code,name,parent_code,level) values('110100','市辖区','110000',2);
insert into area(code,name,parent_code,level) values('110200','县','110000',2);
insert into area(code,name,parent_code,level) values('120100','市辖区','120000',2);
insert into area(code,name,parent_code,level) values('120200','县','120000',2);
insert into area(code,name,parent_code,level) values('130100','石家庄市','130000',2);
insert into area(code,name,parent_code,level) values('130200','唐山市','130000',2);
insert into area(code,name,parent_code,level) values('130300','秦皇岛市','130000',2);
insert into area(code,name,parent_code,level) values('130400','邯郸市','130000',2);
insert into area(code,name,parent_code,level) values('130500','邢台市','130000',2);
insert into area(code,name,parent_code,level) values('130600','保定市','130000',2);
insert into area(code,name,parent_code,level) values('130700','张家口市','130000',2);
insert into area(code,name,parent_code,level) values('130800','承德市','130000',2);
insert into area(code,name,parent_code,level) values('130900','沧州市','130000',2);
insert into area(code,name,parent_code,level) values('131000','廊坊市','130000',2);
insert into area(code,name,parent_code,level) values('131100','衡水市','130000',2);
insert into area(code,name,parent_code,level) values('140100','太原市','140000',2);
insert into area(code,name,parent_code,level) values('140200','大同市','140000',2);
insert into area(code,name,parent_code,level) values('140300','阳泉市','140000',2);
insert into area(code,name,parent_code,level) values('140400','长治市','140000',2);
insert into area(code,name,parent_code,level) values('140500','晋城市','140000',2);
insert into area(code,name,parent_code,level) values('140600','朔州市','140000',2);
insert into area(code,name,parent_code,level) values('140700','晋中市','140000',2);
insert into area(code,name,parent_code,level) values('140800','运城市','140000',2);
insert into area(code,name,parent_code,level) values('140900','忻州市','140000',2);
insert into area(code,name,parent_code,level) values('141000','临汾市','140000',2);
insert into area(code,name,parent_code,level) values('141100','吕梁市','140000',2);
insert into area(code,name,parent_code,level) values('150100','呼和浩特市','150000',2);
insert into area(code,name,parent_code,level) values('150200','包头市','150000',2);
insert into area(code,name,parent_code,level) values('150300','乌海市','150000',2);
insert into area(code,name,parent_code,level) values('150400','赤峰市','150000',2);
insert into area(code,name,parent_code,level) values('150500','通辽市','150000',2);
insert into area(code,name,parent_code,level) values('150600','鄂尔多斯市','150000',2);
insert into area(code,name,parent_code,level) values('150700','呼伦贝尔市','150000',2);
insert into area(code,name,parent_code,level) values('150800','巴彦淖尔市','150000',2);
insert into area(code,name,parent_code,level) values('150900','乌兰察布市','150000',2);
insert into area(code,name,parent_code,level) values('152200','兴安盟','150000',2);
insert into area(code,name,parent_code,level) values('152500','锡林郭勒盟','150000',2);
insert into area(code,name,parent_code,level) values('152900','阿拉善盟','150000',2);
insert into area(code,name,parent_code,level) values('210100','沈阳市','210000',2);
insert into area(code,name,parent_code,level) values('210200','大连市','210000',2);
insert into area(code,name,parent_code,level) values('210300','鞍山市','210000',2);
insert into area(code,name,parent_code,level) values('210400','抚顺市','210000',2);
insert into area(code,name,parent_code,level) values('210500','本溪市','210000',2);
insert into area(code,name,parent_code,level) values('210600','丹东市','210000',2);
insert into area(code,name,parent_code,level) values('210700','锦州市','210000',2);
insert into area(code,name,parent_code,level) values('210800','营口市','210000',2);
insert into area(code,name,parent_code,level) values('210900','阜新市','210000',2);
insert into area(code,name,parent_code,level) values('211000','辽阳市','210000',2);
insert into area(code,name,parent_code,level) values('211100','盘锦市','210000',2);
insert into area(code,name,parent_code,level) values('211200','铁岭市','210000',2);
insert into area(code,name,parent_code,level) values('211300','朝阳市','210000',2);
insert into area(code,name,parent_code,level) values('211400','葫芦岛市','210000',2);
insert into area(code,name,parent_code,level) values('220100','长春市','220000',2);
insert into area(code,name,parent_code,level) values('220200','吉林市','220000',2);
insert into area(code,name,parent_code,level) values('220300','四平市','220000',2);
insert into area(code,name,parent_code,level) values('220400','辽源市','220000',2);
insert into area(code,name,parent_code,level) values('220500','通化市','220000',2);
insert into area(code,name,parent_code,level) values('220600','白山市','220000',2);
insert into area(code,name,parent_code,level) values('220700','松原市','220000',2);
insert into area(code,name,parent_code,level) values('220800','白城市','220000',2);
insert into area(code,name,parent_code,level) values('222400','延边朝鲜族自治州','220000',2);
insert into area(code,name,parent_code,level) values('230100','哈尔滨市','230000',2);
insert into area(code,name,parent_code,level) values('230200','齐齐哈尔市','230000',2);
insert into area(code,name,parent_code,level) values('230300','鸡西市','230000',2);
insert into area(code,name,parent_code,level) values('230400','鹤岗市','230000',2);
insert into area(code,name,parent_code,level) values('230500','双鸭山市','230000',2);
insert into area(code,name,parent_code,level) values('230600','大庆市','230000',2);
insert into area(code,name,parent_code,level) values('230700','伊春市','230000',2);
insert into area(code,name,parent_code,level) values('230800','佳木斯市','230000',2);
insert into area(code,name,parent_code,level) values('230900','七台河市','230000',2);
insert into area(code,name,parent_code,level) values('231000','牡丹江市','230000',2);
insert into area(code,name,parent_code,level) values('231100','黑河市','230000',2);
insert into area(code,name,parent_code,level) values('231200','绥化市','230000',2);
insert into area(code,name,parent_code,level) values('232700','大兴安岭地区','230000',2);
insert into area(code,name,parent_code,level) values('310100','市辖区','310000',2);
insert into area(code,name,parent_code,level) values('310200','县','310000',2);
insert into area(code,name,parent_code,level) values('320100','南京市','320000',2);
insert into area(code,name,parent_code,level) values('320200','无锡市','320000',2);
insert into area(code,name,parent_code,level) values('320300','徐州市','320000',2);
insert into area(code,name,parent_code,level) values('320400','常州市','320000',2);
insert into area(code,name,parent_code,level) values('320500','苏州市','320000',2);
insert into area(code,name,parent_code,level) values('320600','南通市','320000',2);
insert into area(code,name,parent_code,level) values('320700','连云港市','320000',2);
insert into area(code,name,parent_code,level) values('320800','淮安市','320000',2);
insert into area(code,name,parent_code,level) values('320900','盐城市','320000',2);
insert into area(code,name,parent_code,level) values('321000','扬州市','320000',2);
insert into area(code,name,parent_code,level) values('321100','镇江市','320000',2);
insert into area(code,name,parent_code,level) values('321200','泰州市','320000',2);
insert into area(code,name,parent_code,level) values('321300','宿迁市','320000',2);
insert into area(code,name,parent_code,level) values('330100','杭州市','330000',2);
insert into area(code,name,parent_code,level) values('330200','宁波市','330000',2);
insert into area(code,name,parent_code,level) values('330300','温州市','330000',2);
insert into area(code,name,parent_code,level) values('330400','嘉兴市','330000',2);
insert into area(code,name,parent_code,level) values('330500','湖州市','330000',2);
insert into area(code,name,parent_code,level) values('330600','绍兴市','330000',2);
insert into area(code,name,parent_code,level) values('330700','金华市','330000',2);
insert into area(code,name,parent_code,level) values('330800','衢州市','330000',2);
insert into area(code,name,parent_code,level) values('330900','舟山市','330000',2);
insert into area(code,name,parent_code,level) values('331000','台州市','330000',2);
insert into area(code,name,parent_code,level) values('331100','丽水市','330000',2);
insert into area(code,name,parent_code,level) values('340100','合肥市','340000',2);
insert into area(code,name,parent_code,level) values('340200','芜湖市','340000',2);
insert into area(code,name,parent_code,level) values('340300','蚌埠市','340000',2);
insert into area(code,name,parent_code,level) values('340400','淮南市','340000',2);
insert into area(code,name,parent_code,level) values('340500','马鞍山市','340000',2);
insert into area(code,name,parent_code,level) values('340600','淮北市','340000',2);
insert into area(code,name,parent_code,level) values('340700','铜陵市','340000',2);
insert into area(code,name,parent_code,level) values('340800','安庆市','340000',2);
insert into area(code,name,parent_code,level) values('341000','黄山市','340000',2);
insert into area(code,name,parent_code,level) values('341100','滁州市','340000',2);
insert into area(code,name,parent_code,level) values('341200','阜阳市','340000',2);
insert into area(code,name,parent_code,level) values('341300','宿州市','340000',2);
insert into area(code,name,parent_code,level) values('341400','巢湖市','340000',2);
insert into area(code,name,parent_code,level) values('341500','六安市','340000',2);
insert into area(code,name,parent_code,level) values('341600','亳州市','340000',2);
insert into area(code,name,parent_code,level) values('341700','池州市','340000',2);
insert into area(code,name,parent_code,level) values('341800','宣城市','340000',2);
insert into area(code,name,parent_code,level) values('350100','福州市','350000',2);
insert into area(code,name,parent_code,level) values('350200','厦门市','350000',2);
insert into area(code,name,parent_code,level) values('350300','莆田市','350000',2);
insert into area(code,name,parent_code,level) values('350400','三明市','350000',2);
insert into area(code,name,parent_code,level) values('350500','泉州市','350000',2);
insert into area(code,name,parent_code,level) values('350600','漳州市','350000',2);
insert into area(code,name,parent_code,level) values('350700','南平市','350000',2);
insert into area(code,name,parent_code,level) values('350800','龙岩市','350000',2);
insert into area(code,name,parent_code,level) values('350900','宁德市','350000',2);
insert into area(code,name,parent_code,level) values('360100','南昌市','360000',2);
insert into area(code,name,parent_code,level) values('360200','景德镇市','360000',2);
insert into area(code,name,parent_code,level) values('360300','萍乡市','360000',2);
insert into area(code,name,parent_code,level) values('360400','九江市','360000',2);
insert into area(code,name,parent_code,level) values('360500','新余市','360000',2);
insert into area(code,name,parent_code,level) values('360600','鹰潭市','360000',2);
insert into area(code,name,parent_code,level) values('360700','赣州市','360000',2);
insert into area(code,name,parent_code,level) values('360800','吉安市','360000',2);
insert into area(code,name,parent_code,level) values('360900','宜春市','360000',2);
insert into area(code,name,parent_code,level) values('361000','抚州市','360000',2);
insert into area(code,name,parent_code,level) values('361100','上饶市','360000',2);
insert into area(code,name,parent_code,level) values('370100','济南市','370000',2);
insert into area(code,name,parent_code,level) values('370200','青岛市','370000',2);
insert into area(code,name,parent_code,level) values('370300','淄博市','370000',2);
insert into area(code,name,parent_code,level) values('370400','枣庄市','370000',2);
insert into area(code,name,parent_code,level) values('370500','东营市','370000',2);
insert into area(code,name,parent_code,level) values('370600','烟台市','370000',2);
insert into area(code,name,parent_code,level) values('370700','潍坊市','370000',2);
insert into area(code,name,parent_code,level) values('370800','济宁市','370000',2);
insert into area(code,name,parent_code,level) values('370900','泰安市','370000',2);
insert into area(code,name,parent_code,level) values('371000','威海市','370000',2);
insert into area(code,name,parent_code,level) values('371100','日照市','370000',2);
insert into area(code,name,parent_code,level) values('371200','莱芜市','370000',2);
insert into area(code,name,parent_code,level) values('371300','临沂市','370000',2);
insert into area(code,name,parent_code,level) values('371400','德州市','370000',2);
insert into area(code,name,parent_code,level) values('371500','聊城市','370000',2);
insert into area(code,name,parent_code,level) values('371600','滨州市','370000',2);
insert into area(code,name,parent_code,level) values('371700','荷泽市','370000',2);
insert into area(code,name,parent_code,level) values('410100','郑州市','410000',2);
insert into area(code,name,parent_code,level) values('410200','开封市','410000',2);
insert into area(code,name,parent_code,level) values('410300','洛阳市','410000',2);
insert into area(code,name,parent_code,level) values('410400','平顶山市','410000',2);
insert into area(code,name,parent_code,level) values('410500','安阳市','410000',2);
insert into area(code,name,parent_code,level) values('410600','鹤壁市','410000',2);
insert into area(code,name,parent_code,level) values('410700','新乡市','410000',2);
insert into area(code,name,parent_code,level) values('410800','焦作市','410000',2);
insert into area(code,name,parent_code,level) values('410900','濮阳市','410000',2);
insert into area(code,name,parent_code,level) values('411000','许昌市','410000',2);
insert into area(code,name,parent_code,level) values('411100','漯河市','410000',2);
insert into area(code,name,parent_code,level) values('411200','三门峡市','410000',2);
insert into area(code,name,parent_code,level) values('411300','南阳市','410000',2);
insert into area(code,name,parent_code,level) values('411400','商丘市','410000',2);
insert into area(code,name,parent_code,level) values('411500','信阳市','410000',2);
insert into area(code,name,parent_code,level) values('411600','周口市','410000',2);
insert into area(code,name,parent_code,level) values('411700','驻马店市','410000',2);
insert into area(code,name,parent_code,level) values('420100','武汉市','420000',2);
insert into area(code,name,parent_code,level) values('420200','黄石市','420000',2);
insert into area(code,name,parent_code,level) values('420300','十堰市','420000',2);
insert into area(code,name,parent_code,level) values('420500','宜昌市','420000',2);
insert into area(code,name,parent_code,level) values('420600','襄樊市','420000',2);
insert into area(code,name,parent_code,level) values('420700','鄂州市','420000',2);
insert into area(code,name,parent_code,level) values('420800','荆门市','420000',2);
insert into area(code,name,parent_code,level) values('420900','孝感市','420000',2);
insert into area(code,name,parent_code,level) values('421000','荆州市','420000',2);
insert into area(code,name,parent_code,level) values('421100','黄冈市','420000',2);
insert into area(code,name,parent_code,level) values('421200','咸宁市','420000',2);
insert into area(code,name,parent_code,level) values('421300','随州市','420000',2);
insert into area(code,name,parent_code,level) values('422800','恩施土家族苗族自治州','420000',2);
insert into area(code,name,parent_code,level) values('429000','省直辖行政单位','420000',2);
insert into area(code,name,parent_code,level) values('430100','长沙市','430000',2);
insert into area(code,name,parent_code,level) values('430200','株洲市','430000',2);
insert into area(code,name,parent_code,level) values('430300','湘潭市','430000',2);
insert into area(code,name,parent_code,level) values('430400','衡阳市','430000',2);
insert into area(code,name,parent_code,level) values('430500','邵阳市','430000',2);
insert into area(code,name,parent_code,level) values('430600','岳阳市','430000',2);
insert into area(code,name,parent_code,level) values('430700','常德市','430000',2);
insert into area(code,name,parent_code,level) values('430800','张家界市','430000',2);
insert into area(code,name,parent_code,level) values('430900','益阳市','430000',2);
insert into area(code,name,parent_code,level) values('431000','郴州市','430000',2);
insert into area(code,name,parent_code,level) values('431100','永州市','430000',2);
insert into area(code,name,parent_code,level) values('431200','怀化市','430000',2);
insert into area(code,name,parent_code,level) values('431300','娄底市','430000',2);
insert into area(code,name,parent_code,level) values('433100','湘西土家族苗族自治州','430000',2);
insert into area(code,name,parent_code,level) values('440100','广州市','440000',2);
insert into area(code,name,parent_code,level) values('440200','韶关市','440000',2);
insert into area(code,name,parent_code,level) values('440300','深圳市','440000',2);
insert into area(code,name,parent_code,level) values('440400','珠海市','440000',2);
insert into area(code,name,parent_code,level) values('440500','汕头市','440000',2);
insert into area(code,name,parent_code,level) values('440600','佛山市','440000',2);
insert into area(code,name,parent_code,level) values('440700','江门市','440000',2);
insert into area(code,name,parent_code,level) values('440800','湛江市','440000',2);
insert into area(code,name,parent_code,level) values('440900','茂名市','440000',2);
insert into area(code,name,parent_code,level) values('441200','肇庆市','440000',2);
insert into area(code,name,parent_code,level) values('441300','惠州市','440000',2);
insert into area(code,name,parent_code,level) values('441400','梅州市','440000',2);
insert into area(code,name,parent_code,level) values('441500','汕尾市','440000',2);
insert into area(code,name,parent_code,level) values('441600','河源市','440000',2);
insert into area(code,name,parent_code,level) values('441700','阳江市','440000',2);
insert into area(code,name,parent_code,level) values('441800','清远市','440000',2);
insert into area(code,name,parent_code,level) values('441900','东莞市','440000',2);
insert into area(code,name,parent_code,level) values('442000','中山市','440000',2);
insert into area(code,name,parent_code,level) values('445100','潮州市','440000',2);
insert into area(code,name,parent_code,level) values('445200','揭阳市','440000',2);
insert into area(code,name,parent_code,level) values('445300','云浮市','440000',2);
insert into area(code,name,parent_code,level) values('450100','南宁市','450000',2);
insert into area(code,name,parent_code,level) values('450200','柳州市','450000',2);
insert into area(code,name,parent_code,level) values('450300','桂林市','450000',2);
insert into area(code,name,parent_code,level) values('450400','梧州市','450000',2);
insert into area(code,name,parent_code,level) values('450500','北海市','450000',2);
insert into area(code,name,parent_code,level) values('450600','防城港市','450000',2);
insert into area(code,name,parent_code,level) values('450700','钦州市','450000',2);
insert into area(code,name,parent_code,level) values('450800','贵港市','450000',2);
insert into area(code,name,parent_code,level) values('450900','玉林市','450000',2);
insert into area(code,name,parent_code,level) values('451000','百色市','450000',2);
insert into area(code,name,parent_code,level) values('451100','贺州市','450000',2);
insert into area(code,name,parent_code,level) values('451200','河池市','450000',2);
insert into area(code,name,parent_code,level) values('451300','来宾市','450000',2);
insert into area(code,name,parent_code,level) values('451400','崇左市','450000',2);
insert into area(code,name,parent_code,level) values('460100','海口市','460000',2);
insert into area(code,name,parent_code,level) values('460200','三亚市','460000',2);
insert into area(code,name,parent_code,level) values('469000','省直辖县级行政单位','460000',2);
insert into area(code,name,parent_code,level) values('500100','市辖区','500000',2);
insert into area(code,name,parent_code,level) values('500200','县','500000',2);
insert into area(code,name,parent_code,level) values('500300','市','500000',2);
insert into area(code,name,parent_code,level) values('510100','成都市','510000',2);
insert into area(code,name,parent_code,level) values('510300','自贡市','510000',2);
insert into area(code,name,parent_code,level) values('510400','攀枝花市','510000',2);
insert into area(code,name,parent_code,level) values('510500','泸州市','510000',2);
insert into area(code,name,parent_code,level) values('510600','德阳市','510000',2);
insert into area(code,name,parent_code,level) values('510700','绵阳市','510000',2);
insert into area(code,name,parent_code,level) values('510800','广元市','510000',2);
insert into area(code,name,parent_code,level) values('510900','遂宁市','510000',2);
insert into area(code,name,parent_code,level) values('511000','内江市','510000',2);
insert into area(code,name,parent_code,level) values('511100','乐山市','510000',2);
insert into area(code,name,parent_code,level) values('511300','南充市','510000',2);
insert into area(code,name,parent_code,level) values('511400','眉山市','510000',2);
insert into area(code,name,parent_code,level) values('511500','宜宾市','510000',2);
insert into area(code,name,parent_code,level) values('511600','广安市','510000',2);
insert into area(code,name,parent_code,level) values('511700','达州市','510000',2);
insert into area(code,name,parent_code,level) values('511800','雅安市','510000',2);
insert into area(code,name,parent_code,level) values('511900','巴中市','510000',2);
insert into area(code,name,parent_code,level) values('512000','资阳市','510000',2);
insert into area(code,name,parent_code,level) values('513200','阿坝藏族羌族自治州','510000',2);
insert into area(code,name,parent_code,level) values('513300','甘孜藏族自治州','510000',2);
insert into area(code,name,parent_code,level) values('513400','凉山彝族自治州','510000',2);
insert into area(code,name,parent_code,level) values('520100','贵阳市','520000',2);
insert into area(code,name,parent_code,level) values('520200','六盘水市','520000',2);
insert into area(code,name,parent_code,level) values('520300','遵义市','520000',2);
insert into area(code,name,parent_code,level) values('520400','安顺市','520000',2);
insert into area(code,name,parent_code,level) values('522200','铜仁地区','520000',2);
insert into area(code,name,parent_code,level) values('522300','黔西南布依族苗族自治州','520000',2);
insert into area(code,name,parent_code,level) values('522400','毕节地区','520000',2);
insert into area(code,name,parent_code,level) values('522600','黔东南苗族侗族自治州','520000',2);
insert into area(code,name,parent_code,level) values('522700','黔南布依族苗族自治州','520000',2);
insert into area(code,name,parent_code,level) values('530100','昆明市','530000',2);
insert into area(code,name,parent_code,level) values('530300','曲靖市','530000',2);
insert into area(code,name,parent_code,level) values('530400','玉溪市','530000',2);
insert into area(code,name,parent_code,level) values('530500','保山市','530000',2);
insert into area(code,name,parent_code,level) values('530600','昭通市','530000',2);
insert into area(code,name,parent_code,level) values('530700','丽江市','530000',2);
insert into area(code,name,parent_code,level) values('530800','思茅市','530000',2);
insert into area(code,name,parent_code,level) values('530900','临沧市','530000',2);
insert into area(code,name,parent_code,level) values('532300','楚雄彝族自治州','530000',2);
insert into area(code,name,parent_code,level) values('532500','红河哈尼族彝族自治州','530000',2);
insert into area(code,name,parent_code,level) values('532600','文山壮族苗族自治州','530000',2);
insert into area(code,name,parent_code,level) values('532800','西双版纳傣族自治州','530000',2);
insert into area(code,name,parent_code,level) values('532900','大理白族自治州','530000',2);
insert into area(code,name,parent_code,level) values('533100','德宏傣族景颇族自治州','530000',2);
insert into area(code,name,parent_code,level) values('533300','怒江傈僳族自治州','530000',2);
insert into area(code,name,parent_code,level) values('533400','迪庆藏族自治州','530000',2);
insert into area(code,name,parent_code,level) values('540100','拉萨市','540000',2);
insert into area(code,name,parent_code,level) values('542100','昌都地区','540000',2);
insert into area(code,name,parent_code,level) values('542200','山南地区','540000',2);
insert into area(code,name,parent_code,level) values('542300','日喀则地区','540000',2);
insert into area(code,name,parent_code,level) values('542400','那曲地区','540000',2);
insert into area(code,name,parent_code,level) values('542500','阿里地区','540000',2);
insert into area(code,name,parent_code,level) values('542600','林芝地区','540000',2);
insert into area(code,name,parent_code,level) values('610100','西安市','610000',2);
insert into area(code,name,parent_code,level) values('610200','铜川市','610000',2);
insert into area(code,name,parent_code,level) values('610300','宝鸡市','610000',2);
insert into area(code,name,parent_code,level) values('610400','咸阳市','610000',2);
insert into area(code,name,parent_code,level) values('610500','渭南市','610000',2);
insert into area(code,name,parent_code,level) values('610600','延安市','610000',2);
insert into area(code,name,parent_code,level) values('610700','汉中市','610000',2);
insert into area(code,name,parent_code,level) values('610800','榆林市','610000',2);
insert into area(code,name,parent_code,level) values('610900','安康市','610000',2);
insert into area(code,name,parent_code,level) values('611000','商洛市','610000',2);
insert into area(code,name,parent_code,level) values('620100','兰州市','620000',2);
insert into area(code,name,parent_code,level) values('620200','嘉峪关市','620000',2);
insert into area(code,name,parent_code,level) values('620300','金昌市','620000',2);
insert into area(code,name,parent_code,level) values('620400','白银市','620000',2);
insert into area(code,name,parent_code,level) values('620500','天水市','620000',2);
insert into area(code,name,parent_code,level) values('620600','武威市','620000',2);
insert into area(code,name,parent_code,level) values('620700','张掖市','620000',2);
insert into area(code,name,parent_code,level) values('620800','平凉市','620000',2);
insert into area(code,name,parent_code,level) values('620900','酒泉市','620000',2);
insert into area(code,name,parent_code,level) values('621000','庆阳市','620000',2);
insert into area(code,name,parent_code,level) values('621100','定西市','620000',2);
insert into area(code,name,parent_code,level) values('621200','陇南市','620000',2);
insert into area(code,name,parent_code,level) values('622900','临夏回族自治州','620000',2);
insert into area(code,name,parent_code,level) values('623000','甘南藏族自治州','620000',2);
insert into area(code,name,parent_code,level) values('630100','西宁市','630000',2);
insert into area(code,name,parent_code,level) values('632100','海东地区','630000',2);
insert into area(code,name,parent_code,level) values('632200','海北藏族自治州','630000',2);
insert into area(code,name,parent_code,level) values('632300','黄南藏族自治州','630000',2);
insert into area(code,name,parent_code,level) values('632500','海南藏族自治州','630000',2);
insert into area(code,name,parent_code,level) values('632600','果洛藏族自治州','630000',2);
insert into area(code,name,parent_code,level) values('632700','玉树藏族自治州','630000',2);
insert into area(code,name,parent_code,level) values('632800','海西蒙古族藏族自治州','630000',2);
insert into area(code,name,parent_code,level) values('640100','银川市','640000',2);
insert into area(code,name,parent_code,level) values('640200','石嘴山市','640000',2);
insert into area(code,name,parent_code,level) values('640300','吴忠市','640000',2);
insert into area(code,name,parent_code,level) values('640400','固原市','640000',2);
insert into area(code,name,parent_code,level) values('640500','中卫市','640000',2);
insert into area(code,name,parent_code,level) values('650100','乌鲁木齐市','650000',2);
insert into area(code,name,parent_code,level) values('650200','克拉玛依市','650000',2);
insert into area(code,name,parent_code,level) values('652100','吐鲁番地区','650000',2);
insert into area(code,name,parent_code,level) values('652200','哈密地区','650000',2);
insert into area(code,name,parent_code,level) values('652300','昌吉回族自治州','650000',2);
insert into area(code,name,parent_code,level) values('652700','博尔塔拉蒙古自治州','650000',2);
insert into area(code,name,parent_code,level) values('652800','巴音郭楞蒙古自治州','650000',2);
insert into area(code,name,parent_code,level) values('652900','阿克苏地区','650000',2);
insert into area(code,name,parent_code,level) values('653000','克孜勒苏柯尔克孜自治州','650000',2);
insert into area(code,name,parent_code,level) values('653100','喀什地区','650000',2);
insert into area(code,name,parent_code,level) values('653200','和田地区','650000',2);
insert into area(code,name,parent_code,level) values('654000','伊犁哈萨克自治州','650000',2);
insert into area(code,name,parent_code,level) values('654200','塔城地区','650000',2);
insert into area(code,name,parent_code,level) values('654300','阿勒泰地区','650000',2);
insert into area(code,name,parent_code,level) values('659000','省直辖行政单位','650000',2);
区数据
sql
insert into area(code,name,parent_code,level) values('110101','东城区','110100',3);
insert into area(code,name,parent_code,level) values('110102','西城区','110100',3);
insert into area(code,name,parent_code,level) values('110103','崇文区','110100',3);
insert into area(code,name,parent_code,level) values('110104','宣武区','110100',3);
insert into area(code,name,parent_code,level) values('110105','朝阳区','110100',3);
insert into area(code,name,parent_code,level) values('110106','丰台区','110100',3);
insert into area(code,name,parent_code,level) values('110107','石景山区','110100',3);
insert into area(code,name,parent_code,level) values('110108','海淀区','110100',3);
insert into area(code,name,parent_code,level) values('110109','门头沟区','110100',3);
insert into area(code,name,parent_code,level) values('110111','房山区','110100',3);
insert into area(code,name,parent_code,level) values('110112','通州区','110100',3);
insert into area(code,name,parent_code,level) values('110113','顺义区','110100',3);
insert into area(code,name,parent_code,level) values('110114','昌平区','110100',3);
insert into area(code,name,parent_code,level) values('110115','大兴区','110100',3);
insert into area(code,name,parent_code,level) values('110116','怀柔区','110100',3);
insert into area(code,name,parent_code,level) values('110117','平谷区','110100',3);
insert into area(code,name,parent_code,level) values('110228','密云县','110200',3);
insert into area(code,name,parent_code,level) values('110229','延庆县','110200',3);
insert into area(code,name,parent_code,level) values('120101','和平区','120100',3);
insert into area(code,name,parent_code,level) values('120102','河东区','120100',3);
insert into area(code,name,parent_code,level) values('120103','河西区','120100',3);
insert into area(code,name,parent_code,level) values('120104','南开区','120100',3);
insert into area(code,name,parent_code,level) values('120105','河北区','120100',3);
insert into area(code,name,parent_code,level) values('120106','红桥区','120100',3);
insert into area(code,name,parent_code,level) values('120107','塘沽区','120100',3);
insert into area(code,name,parent_code,level) values('120108','汉沽区','120100',3);
insert into area(code,name,parent_code,level) values('120109','大港区','120100',3);
insert into area(code,name,parent_code,level) values('120110','东丽区','120100',3);
insert into area(code,name,parent_code,level) values('120111','西青区','120100',3);
insert into area(code,name,parent_code,level) values('120112','津南区','120100',3);
insert into area(code,name,parent_code,level) values('120113','北辰区','120100',3);
insert into area(code,name,parent_code,level) values('120114','武清区','120100',3);
insert into area(code,name,parent_code,level) values('120115','宝坻区','120100',3);
insert into area(code,name,parent_code,level) values('120221','宁河县','120200',3);
insert into area(code,name,parent_code,level) values('120223','静海县','120200',3);
insert into area(code,name,parent_code,level) values('120225','蓟 县','120200',3);
insert into area(code,name,parent_code,level) values('130101','市辖区','130100',3);
insert into area(code,name,parent_code,level) values('130102','长安区','130100',3);
insert into area(code,name,parent_code,level) values('130103','桥东区','130100',3);
insert into area(code,name,parent_code,level) values('130104','桥西区','130100',3);
insert into area(code,name,parent_code,level) values('130105','新华区','130100',3);
insert into area(code,name,parent_code,level) values('130107','井陉矿区','130100',3);
insert into area(code,name,parent_code,level) values('130108','裕华区','130100',3);
insert into area(code,name,parent_code,level) values('130121','井陉县','130100',3);
insert into area(code,name,parent_code,level) values('130123','正定县','130100',3);
insert into area(code,name,parent_code,level) values('130124','栾城县','130100',3);
insert into area(code,name,parent_code,level) values('130125','行唐县','130100',3);
insert into area(code,name,parent_code,level) values('130126','灵寿县','130100',3);
insert into area(code,name,parent_code,level) values('130127','高邑县','130100',3);
insert into area(code,name,parent_code,level) values('130128','深泽县','130100',3);
insert into area(code,name,parent_code,level) values('130129','赞皇县','130100',3);
insert into area(code,name,parent_code,level) values('130130','无极县','130100',3);
insert into area(code,name,parent_code,level) values('130131','平山县','130100',3);
insert into area(code,name,parent_code,level) values('130132','元氏县','130100',3);
insert into area(code,name,parent_code,level) values('130133','赵 县','130100',3);
insert into area(code,name,parent_code,level) values('130181','辛集市','130100',3);
insert into area(code,name,parent_code,level) values('130182','藁城市','130100',3);
insert into area(code,name,parent_code,level) values('130183','晋州市','130100',3);
insert into area(code,name,parent_code,level) values('130184','新乐市','130100',3);
insert into area(code,name,parent_code,level) values('130185','鹿泉市','130100',3);
insert into area(code,name,parent_code,level) values('130201','市辖区','130200',3);
insert into area(code,name,parent_code,level) values('130202','路南区','130200',3);
insert into area(code,name,parent_code,level) values('130203','路北区','130200',3);
insert into area(code,name,parent_code,level) values('130204','古冶区','130200',3);
insert into area(code,name,parent_code,level) values('130205','开平区','130200',3);
insert into area(code,name,parent_code,level) values('130207','丰南区','130200',3);
insert into area(code,name,parent_code,level) values('130208','丰润区','130200',3);
insert into area(code,name,parent_code,level) values('130223','滦 县','130200',3);
insert into area(code,name,parent_code,level) values('130224','滦南县','130200',3);
insert into area(code,name,parent_code,level) values('130225','乐亭县','130200',3);
insert into area(code,name,parent_code,level) values('130227','迁西县','130200',3);
insert into area(code,name,parent_code,level) values('130229','玉田县','130200',3);
insert into area(code,name,parent_code,level) values('130230','唐海县','130200',3);
insert into area(code,name,parent_code,level) values('130281','遵化市','130200',3);
insert into area(code,name,parent_code,level) values('130283','迁安市','130200',3);
insert into area(code,name,parent_code,level) values('130301','市辖区','130300',3);
insert into area(code,name,parent_code,level) values('130302','海港区','130300',3);
insert into area(code,name,parent_code,level) values('130303','山海关区','130300',3);
insert into area(code,name,parent_code,level) values('130304','北戴河区','130300',3);
insert into area(code,name,parent_code,level) values('130321','青龙满族自治县','130300',3);
insert into area(code,name,parent_code,level) values('130322','昌黎县','130300',3);
insert into area(code,name,parent_code,level) values('130323','抚宁县','130300',3);
insert into area(code,name,parent_code,level) values('130324','卢龙县','130300',3);
insert into area(code,name,parent_code,level) values('130401','市辖区','130400',3);
insert into area(code,name,parent_code,level) values('130402','邯山区','130400',3);
insert into area(code,name,parent_code,level) values('130403','丛台区','130400',3);
insert into area(code,name,parent_code,level) values('130404','复兴区','130400',3);
insert into area(code,name,parent_code,level) values('130406','峰峰矿区','130400',3);
insert into area(code,name,parent_code,level) values('130421','邯郸县','130400',3);
insert into area(code,name,parent_code,level) values('130423','临漳县','130400',3);
insert into area(code,name,parent_code,level) values('130424','成安县','130400',3);
insert into area(code,name,parent_code,level) values('130425','大名县','130400',3);
insert into area(code,name,parent_code,level) values('130426','涉 县','130400',3);
insert into area(code,name,parent_code,level) values('130427','磁 县','130400',3);
insert into area(code,name,parent_code,level) values('130428','肥乡县','130400',3);
insert into area(code,name,parent_code,level) values('130429','永年县','130400',3);
insert into area(code,name,parent_code,level) values('130430','邱 县','130400',3);
insert into area(code,name,parent_code,level) values('130431','鸡泽县','130400',3);
insert into area(code,name,parent_code,level) values('130432','广平县','130400',3);
insert into area(code,name,parent_code,level) values('130433','馆陶县','130400',3);
insert into area(code,name,parent_code,level) values('130434','魏 县','130400',3);
insert into area(code,name,parent_code,level) values('130435','曲周县','130400',3);
insert into area(code,name,parent_code,level) values('130481','武安市','130400',3);
insert into area(code,name,parent_code,level) values('130501','市辖区','130500',3);
insert into area(code,name,parent_code,level) values('130502','桥东区','130500',3);
insert into area(code,name,parent_code,level) values('130503','桥西区','130500',3);
insert into area(code,name,parent_code,level) values('130521','邢台县','130500',3);
insert into area(code,name,parent_code,level) values('130522','临城县','130500',3);
insert into area(code,name,parent_code,level) values('130523','内丘县','130500',3);
insert into area(code,name,parent_code,level) values('130524','柏乡县','130500',3);
insert into area(code,name,parent_code,level) values('130525','隆尧县','130500',3);
insert into area(code,name,parent_code,level) values('130526','任 县','130500',3);
insert into area(code,name,parent_code,level) values('130527','南和县','130500',3);
insert into area(code,name,parent_code,level) values('130528','宁晋县','130500',3);
insert into area(code,name,parent_code,level) values('130529','巨鹿县','130500',3);
insert into area(code,name,parent_code,level) values('130530','新河县','130500',3);
insert into area(code,name,parent_code,level) values('130531','广宗县','130500',3);
insert into area(code,name,parent_code,level) values('130532','平乡县','130500',3);
insert into area(code,name,parent_code,level) values('130533','威 县','130500',3);
insert into area(code,name,parent_code,level) values('130534','清河县','130500',3);
insert into area(code,name,parent_code,level) values('130535','临西县','130500',3);
insert into area(code,name,parent_code,level) values('130581','南宫市','130500',3);
insert into area(code,name,parent_code,level) values('130582','沙河市','130500',3);
insert into area(code,name,parent_code,level) values('130601','市辖区','130600',3);
insert into area(code,name,parent_code,level) values('130602','新市区','130600',3);
insert into area(code,name,parent_code,level) values('130603','北市区','130600',3);
insert into area(code,name,parent_code,level) values('130604','南市区','130600',3);
insert into area(code,name,parent_code,level) values('130621','满城县','130600',3);
insert into area(code,name,parent_code,level) values('130622','清苑县','130600',3);
insert into area(code,name,parent_code,level) values('130623','涞水县','130600',3);
insert into area(code,name,parent_code,level) values('130624','阜平县','130600',3);
insert into area(code,name,parent_code,level) values('130625','徐水县','130600',3);
insert into area(code,name,parent_code,level) values('130626','定兴县','130600',3);
insert into area(code,name,parent_code,level) values('130627','唐 县','130600',3);
insert into area(code,name,parent_code,level) values('130628','高阳县','130600',3);
insert into area(code,name,parent_code,level) values('130629','容城县','130600',3);
insert into area(code,name,parent_code,level) values('130630','涞源县','130600',3);
insert into area(code,name,parent_code,level) values('130631','望都县','130600',3);
insert into area(code,name,parent_code,level) values('130632','安新县','130600',3);
insert into area(code,name,parent_code,level) values('130633','易 县','130600',3);
insert into area(code,name,parent_code,level) values('130634','曲阳县','130600',3);
insert into area(code,name,parent_code,level) values('130635','蠡 县','130600',3);
insert into area(code,name,parent_code,level) values('130636','顺平县','130600',3);
insert into area(code,name,parent_code,level) values('130637','博野县','130600',3);
insert into area(code,name,parent_code,level) values('130638','雄 县','130600',3);
insert into area(code,name,parent_code,level) values('130681','涿州市','130600',3);
insert into area(code,name,parent_code,level) values('130682','定州市','130600',3);
insert into area(code,name,parent_code,level) values('130683','安国市','130600',3);
insert into area(code,name,parent_code,level) values('130684','高碑店市','130600',3);
insert into area(code,name,parent_code,level) values('130701','市辖区','130700',3);
insert into area(code,name,parent_code,level) values('130702','桥东区','130700',3);
insert into area(code,name,parent_code,level) values('130703','桥西区','130700',3);
insert into area(code,name,parent_code,level) values('130705','宣化区','130700',3);
insert into area(code,name,parent_code,level) values('130706','下花园区','130700',3);
insert into area(code,name,parent_code,level) values('130721','宣化县','130700',3);
insert into area(code,name,parent_code,level) values('130722','张北县','130700',3);
insert into area(code,name,parent_code,level) values('130723','康保县','130700',3);
insert into area(code,name,parent_code,level) values('130724','沽源县','130700',3);
insert into area(code,name,parent_code,level) values('130725','尚义县','130700',3);
insert into area(code,name,parent_code,level) values('130726','蔚 县','130700',3);
insert into area(code,name,parent_code,level) values('130727','阳原县','130700',3);
insert into area(code,name,parent_code,level) values('130728','怀安县','130700',3);
insert into area(code,name,parent_code,level) values('130729','万全县','130700',3);
insert into area(code,name,parent_code,level) values('130730','怀来县','130700',3);
insert into area(code,name,parent_code,level) values('130731','涿鹿县','130700',3);
insert into area(code,name,parent_code,level) values('130732','赤城县','130700',3);
insert into area(code,name,parent_code,level) values('130733','崇礼县','130700',3);
insert into area(code,name,parent_code,level) values('130801','市辖区','130800',3);
insert into area(code,name,parent_code,level) values('130802','双桥区','130800',3);
insert into area(code,name,parent_code,level) values('130803','双滦区','130800',3);
insert into area(code,name,parent_code,level) values('130804','鹰手营子矿区','130800',3);
insert into area(code,name,parent_code,level) values('130821','承德县','130800',3);
insert into area(code,name,parent_code,level) values('130822','兴隆县','130800',3);
insert into area(code,name,parent_code,level) values('130823','平泉县','130800',3);
insert into area(code,name,parent_code,level) values('130824','滦平县','130800',3);
insert into area(code,name,parent_code,level) values('130825','隆化县','130800',3);
insert into area(code,name,parent_code,level) values('130826','丰宁满族自治县','130800',3);
insert into area(code,name,parent_code,level) values('130827','宽城满族自治县','130800',3);
insert into area(code,name,parent_code,level) values('130828','围场满族蒙古族自治县','130800',3);
insert into area(code,name,parent_code,level) values('130901','市辖区','130900',3);
insert into area(code,name,parent_code,level) values('130902','新华区','130900',3);
insert into area(code,name,parent_code,level) values('130903','运河区','130900',3);
insert into area(code,name,parent_code,level) values('130921','沧 县','130900',3);
insert into area(code,name,parent_code,level) values('130922','青 县','130900',3);
insert into area(code,name,parent_code,level) values('130923','东光县','130900',3);
insert into area(code,name,parent_code,level) values('130924','海兴县','130900',3);
insert into area(code,name,parent_code,level) values('130925','盐山县','130900',3);
insert into area(code,name,parent_code,level) values('130926','肃宁县','130900',3);
insert into area(code,name,parent_code,level) values('130927','南皮县','130900',3);
insert into area(code,name,parent_code,level) values('130928','吴桥县','130900',3);
insert into area(code,name,parent_code,level) values('130929','献 县','130900',3);
insert into area(code,name,parent_code,level) values('130930','孟村回族自治县','130900',3);
insert into area(code,name,parent_code,level) values('130981','泊头市','130900',3);
insert into area(code,name,parent_code,level) values('130982','任丘市','130900',3);
insert into area(code,name,parent_code,level) values('130983','黄骅市','130900',3);
insert into area(code,name,parent_code,level) values('130984','河间市','130900',3);
insert into area(code,name,parent_code,level) values('131001','市辖区','131000',3);
insert into area(code,name,parent_code,level) values('131002','安次区','131000',3);
insert into area(code,name,parent_code,level) values('131003','广阳区','131000',3);
insert into area(code,name,parent_code,level) values('131022','固安县','131000',3);
insert into area(code,name,parent_code,level) values('131023','永清县','131000',3);
insert into area(code,name,parent_code,level) values('131024','香河县','131000',3);
insert into area(code,name,parent_code,level) values('131025','大城县','131000',3);
insert into area(code,name,parent_code,level) values('131026','文安县','131000',3);
insert into area(code,name,parent_code,level) values('131028','大厂回族自治县','131000',3);
insert into area(code,name,parent_code,level) values('131081','霸州市','131000',3);
insert into area(code,name,parent_code,level) values('131082','三河市','131000',3);
insert into area(code,name,parent_code,level) values('131101','市辖区','131100',3);
insert into area(code,name,parent_code,level) values('131102','桃城区','131100',3);
insert into area(code,name,parent_code,level) values('131121','枣强县','131100',3);
insert into area(code,name,parent_code,level) values('131122','武邑县','131100',3);
insert into area(code,name,parent_code,level) values('131123','武强县','131100',3);
insert into area(code,name,parent_code,level) values('131124','饶阳县','131100',3);
insert into area(code,name,parent_code,level) values('131125','安平县','131100',3);
insert into area(code,name,parent_code,level) values('131126','故城县','131100',3);
insert into area(code,name,parent_code,level) values('131127','景 县','131100',3);
insert into area(code,name,parent_code,level) values('131128','阜城县','131100',3);
insert into area(code,name,parent_code,level) values('131181','冀州市','131100',3);
insert into area(code,name,parent_code,level) values('131182','深州市','131100',3);
insert into area(code,name,parent_code,level) values('140101','市辖区','140100',3);
insert into area(code,name,parent_code,level) values('140105','小店区','140100',3);
insert into area(code,name,parent_code,level) values('140106','迎泽区','140100',3);
insert into area(code,name,parent_code,level) values('140107','杏花岭区','140100',3);
insert into area(code,name,parent_code,level) values('140108','尖草坪区','140100',3);
insert into area(code,name,parent_code,level) values('140109','万柏林区','140100',3);
insert into area(code,name,parent_code,level) values('140110','晋源区','140100',3);
insert into area(code,name,parent_code,level) values('140121','清徐县','140100',3);
insert into area(code,name,parent_code,level) values('140122','阳曲县','140100',3);
insert into area(code,name,parent_code,level) values('140123','娄烦县','140100',3);
insert into area(code,name,parent_code,level) values('140181','古交市','140100',3);
insert into area(code,name,parent_code,level) values('140201','市辖区','140200',3);
insert into area(code,name,parent_code,level) values('140202','城 区','140200',3);
insert into area(code,name,parent_code,level) values('140203','矿 区','140200',3);
insert into area(code,name,parent_code,level) values('140211','南郊区','140200',3);
insert into area(code,name,parent_code,level) values('140212','新荣区','140200',3);
insert into area(code,name,parent_code,level) values('140221','阳高县','140200',3);
insert into area(code,name,parent_code,level) values('140222','天镇县','140200',3);
insert into area(code,name,parent_code,level) values('140223','广灵县','140200',3);
insert into area(code,name,parent_code,level) values('140224','灵丘县','140200',3);
insert into area(code,name,parent_code,level) values('140225','浑源县','140200',3);
insert into area(code,name,parent_code,level) values('140226','左云县','140200',3);
insert into area(code,name,parent_code,level) values('140227','大同县','140200',3);
insert into area(code,name,parent_code,level) values('140301','市辖区','140300',3);
insert into area(code,name,parent_code,level) values('140302','城 区','140300',3);
insert into area(code,name,parent_code,level) values('140303','矿 区','140300',3);
insert into area(code,name,parent_code,level) values('140311','郊 区','140300',3);
insert into area(code,name,parent_code,level) values('140321','平定县','140300',3);
insert into area(code,name,parent_code,level) values('140322','盂 县','140300',3);
insert into area(code,name,parent_code,level) values('140401','市辖区','140400',3);
insert into area(code,name,parent_code,level) values('140402','城 区','140400',3);
insert into area(code,name,parent_code,level) values('140411','郊 区','140400',3);
insert into area(code,name,parent_code,level) values('140421','长治县','140400',3);
insert into area(code,name,parent_code,level) values('140423','襄垣县','140400',3);
insert into area(code,name,parent_code,level) values('140424','屯留县','140400',3);
insert into area(code,name,parent_code,level) values('140425','平顺县','140400',3);
insert into area(code,name,parent_code,level) values('140426','黎城县','140400',3);
insert into area(code,name,parent_code,level) values('140427','壶关县','140400',3);
insert into area(code,name,parent_code,level) values('140428','长子县','140400',3);
insert into area(code,name,parent_code,level) values('140429','武乡县','140400',3);
insert into area(code,name,parent_code,level) values('140430','沁 县','140400',3);
insert into area(code,name,parent_code,level) values('140431','沁源县','140400',3);
insert into area(code,name,parent_code,level) values('140481','潞城市','140400',3);
insert into area(code,name,parent_code,level) values('140501','市辖区','140500',3);
insert into area(code,name,parent_code,level) values('140502','城 区','140500',3);
insert into area(code,name,parent_code,level) values('140521','沁水县','140500',3);
insert into area(code,name,parent_code,level) values('140522','阳城县','140500',3);
insert into area(code,name,parent_code,level) values('140524','陵川县','140500',3);
insert into area(code,name,parent_code,level) values('140525','泽州县','140500',3);
insert into area(code,name,parent_code,level) values('140581','高平市','140500',3);
insert into area(code,name,parent_code,level) values('140601','市辖区','140600',3);
insert into area(code,name,parent_code,level) values('140602','朔城区','140600',3);
insert into area(code,name,parent_code,level) values('140603','平鲁区','140600',3);
insert into area(code,name,parent_code,level) values('140621','山阴县','140600',3);
insert into area(code,name,parent_code,level) values('140622','应 县','140600',3);
insert into area(code,name,parent_code,level) values('140623','右玉县','140600',3);
insert into area(code,name,parent_code,level) values('140624','怀仁县','140600',3);
insert into area(code,name,parent_code,level) values('140701','市辖区','140700',3);
insert into area(code,name,parent_code,level) values('140702','榆次区','140700',3);
insert into area(code,name,parent_code,level) values('140721','榆社县','140700',3);
insert into area(code,name,parent_code,level) values('140722','左权县','140700',3);
insert into area(code,name,parent_code,level) values('140723','和顺县','140700',3);
insert into area(code,name,parent_code,level) values('140724','昔阳县','140700',3);
insert into area(code,name,parent_code,level) values('140725','寿阳县','140700',3);
insert into area(code,name,parent_code,level) values('140726','太谷县','140700',3);
insert into area(code,name,parent_code,level) values('140727','祁 县','140700',3);
insert into area(code,name,parent_code,level) values('140728','平遥县','140700',3);
insert into area(code,name,parent_code,level) values('140729','灵石县','140700',3);
insert into area(code,name,parent_code,level) values('140781','介休市','140700',3);
insert into area(code,name,parent_code,level) values('140801','市辖区','140800',3);
insert into area(code,name,parent_code,level) values('140802','盐湖区','140800',3);
insert into area(code,name,parent_code,level) values('140821','临猗县','140800',3);
insert into area(code,name,parent_code,level) values('140822','万荣县','140800',3);
insert into area(code,name,parent_code,level) values('140823','闻喜县','140800',3);
insert into area(code,name,parent_code,level) values('140824','稷山县','140800',3);
insert into area(code,name,parent_code,level) values('140825','新绛县','140800',3);
insert into area(code,name,parent_code,level) values('140826','绛 县','140800',3);
insert into area(code,name,parent_code,level) values('140827','垣曲县','140800',3);
insert into area(code,name,parent_code,level) values('140828','夏 县','140800',3);
insert into area(code,name,parent_code,level) values('140829','平陆县','140800',3);
insert into area(code,name,parent_code,level) values('140830','芮城县','140800',3);
insert into area(code,name,parent_code,level) values('140881','永济市','140800',3);
insert into area(code,name,parent_code,level) values('140882','河津市','140800',3);
insert into area(code,name,parent_code,level) values('140901','市辖区','140900',3);
insert into area(code,name,parent_code,level) values('140902','忻府区','140900',3);
insert into area(code,name,parent_code,level) values('140921','定襄县','140900',3);
insert into area(code,name,parent_code,level) values('140922','五台县','140900',3);
insert into area(code,name,parent_code,level) values('140923','代 县','140900',3);
insert into area(code,name,parent_code,level) values('140924','繁峙县','140900',3);
insert into area(code,name,parent_code,level) values('140925','宁武县','140900',3);
insert into area(code,name,parent_code,level) values('140926','静乐县','140900',3);
insert into area(code,name,parent_code,level) values('140927','神池县','140900',3);
insert into area(code,name,parent_code,level) values('140928','五寨县','140900',3);
insert into area(code,name,parent_code,level) values('140929','岢岚县','140900',3);
insert into area(code,name,parent_code,level) values('140930','河曲县','140900',3);
insert into area(code,name,parent_code,level) values('140931','保德县','140900',3);
insert into area(code,name,parent_code,level) values('140932','偏关县','140900',3);
insert into area(code,name,parent_code,level) values('140981','原平市','140900',3);
insert into area(code,name,parent_code,level) values('141001','市辖区','141000',3);
insert into area(code,name,parent_code,level) values('141002','尧都区','141000',3);
insert into area(code,name,parent_code,level) values('141021','曲沃县','141000',3);
insert into area(code,name,parent_code,level) values('141022','翼城县','141000',3);
insert into area(code,name,parent_code,level) values('141023','襄汾县','141000',3);
insert into area(code,name,parent_code,level) values('141024','洪洞县','141000',3);
insert into area(code,name,parent_code,level) values('141025','古 县','141000',3);
insert into area(code,name,parent_code,level) values('141026','安泽县','141000',3);
insert into area(code,name,parent_code,level) values('141027','浮山县','141000',3);
insert into area(code,name,parent_code,level) values('141028','吉 县','141000',3);
insert into area(code,name,parent_code,level) values('141029','乡宁县','141000',3);
insert into area(code,name,parent_code,level) values('141030','大宁县','141000',3);
insert into area(code,name,parent_code,level) values('141031','隰 县','141000',3);
insert into area(code,name,parent_code,level) values('141032','永和县','141000',3);
insert into area(code,name,parent_code,level) values('141033','蒲 县','141000',3);
insert into area(code,name,parent_code,level) values('141034','汾西县','141000',3);
insert into area(code,name,parent_code,level) values('141081','侯马市','141000',3);
insert into area(code,name,parent_code,level) values('141082','霍州市','141000',3);
insert into area(code,name,parent_code,level) values('141101','市辖区','141100',3);
insert into area(code,name,parent_code,level) values('141102','离石区','141100',3);
insert into area(code,name,parent_code,level) values('141121','文水县','141100',3);
insert into area(code,name,parent_code,level) values('141122','交城县','141100',3);
insert into area(code,name,parent_code,level) values('141123','兴 县','141100',3);
insert into area(code,name,parent_code,level) values('141124','临 县','141100',3);
insert into area(code,name,parent_code,level) values('141125','柳林县','141100',3);
insert into area(code,name,parent_code,level) values('141126','石楼县','141100',3);
insert into area(code,name,parent_code,level) values('141127','岚 县','141100',3);
insert into area(code,name,parent_code,level) values('141128','方山县','141100',3);
insert into area(code,name,parent_code,level) values('141129','中阳县','141100',3);
insert into area(code,name,parent_code,level) values('141130','交口县','141100',3);
insert into area(code,name,parent_code,level) values('141181','孝义市','141100',3);
insert into area(code,name,parent_code,level) values('141182','汾阳市','141100',3);
insert into area(code,name,parent_code,level) values('150101','市辖区','150100',3);
insert into area(code,name,parent_code,level) values('150102','新城区','150100',3);
insert into area(code,name,parent_code,level) values('150103','回民区','150100',3);
insert into area(code,name,parent_code,level) values('150104','玉泉区','150100',3);
insert into area(code,name,parent_code,level) values('150105','赛罕区','150100',3);
insert into area(code,name,parent_code,level) values('150121','土默特左旗','150100',3);
insert into area(code,name,parent_code,level) values('150122','托克托县','150100',3);
insert into area(code,name,parent_code,level) values('150123','和林格尔县','150100',3);
insert into area(code,name,parent_code,level) values('150124','清水河县','150100',3);
insert into area(code,name,parent_code,level) values('150125','武川县','150100',3);
insert into area(code,name,parent_code,level) values('150201','市辖区','150200',3);
insert into area(code,name,parent_code,level) values('150202','东河区','150200',3);
insert into area(code,name,parent_code,level) values('150203','昆都仑区','150200',3);
insert into area(code,name,parent_code,level) values('150204','青山区','150200',3);
insert into area(code,name,parent_code,level) values('150205','石拐区','150200',3);
insert into area(code,name,parent_code,level) values('150206','白云矿区','150200',3);
insert into area(code,name,parent_code,level) values('150207','九原区','150200',3);
insert into area(code,name,parent_code,level) values('150221','土默特右旗','150200',3);
insert into area(code,name,parent_code,level) values('150222','固阳县','150200',3);
insert into area(code,name,parent_code,level) values('150223','达尔罕茂明安联合旗','150200',3);
insert into area(code,name,parent_code,level) values('150301','市辖区','150300',3);
insert into area(code,name,parent_code,level) values('150302','海勃湾区','150300',3);
insert into area(code,name,parent_code,level) values('150303','海南区','150300',3);
insert into area(code,name,parent_code,level) values('150304','乌达区','150300',3);
insert into area(code,name,parent_code,level) values('150401','市辖区','150400',3);
insert into area(code,name,parent_code,level) values('150402','红山区','150400',3);
insert into area(code,name,parent_code,level) values('150403','元宝山区','150400',3);
insert into area(code,name,parent_code,level) values('150404','松山区','150400',3);
insert into area(code,name,parent_code,level) values('150421','阿鲁科尔沁旗','150400',3);
insert into area(code,name,parent_code,level) values('150422','巴林左旗','150400',3);
insert into area(code,name,parent_code,level) values('150423','巴林右旗','150400',3);
insert into area(code,name,parent_code,level) values('150424','林西县','150400',3);
insert into area(code,name,parent_code,level) values('150425','克什克腾旗','150400',3);
insert into area(code,name,parent_code,level) values('150426','翁牛特旗','150400',3);
insert into area(code,name,parent_code,level) values('150428','喀喇沁旗','150400',3);
insert into area(code,name,parent_code,level) values('150429','宁城县','150400',3);
insert into area(code,name,parent_code,level) values('150430','敖汉旗','150400',3);
insert into area(code,name,parent_code,level) values('150501','市辖区','150500',3);
insert into area(code,name,parent_code,level) values('150502','科尔沁区','150500',3);
insert into area(code,name,parent_code,level) values('150521','科尔沁左翼中旗','150500',3);
insert into area(code,name,parent_code,level) values('150522','科尔沁左翼后旗','150500',3);
insert into area(code,name,parent_code,level) values('150523','开鲁县','150500',3);
insert into area(code,name,parent_code,level) values('150524','库伦旗','150500',3);
insert into area(code,name,parent_code,level) values('150525','奈曼旗','150500',3);
insert into area(code,name,parent_code,level) values('150526','扎鲁特旗','150500',3);
insert into area(code,name,parent_code,level) values('150581','霍林郭勒市','150500',3);
insert into area(code,name,parent_code,level) values('150602','东胜区','150600',3);
insert into area(code,name,parent_code,level) values('150621','达拉特旗','150600',3);
insert into area(code,name,parent_code,level) values('150622','准格尔旗','150600',3);
insert into area(code,name,parent_code,level) values('150623','鄂托克前旗','150600',3);
insert into area(code,name,parent_code,level) values('150624','鄂托克旗','150600',3);
insert into area(code,name,parent_code,level) values('150625','杭锦旗','150600',3);
insert into area(code,name,parent_code,level) values('150626','乌审旗','150600',3);
insert into area(code,name,parent_code,level) values('150627','伊金霍洛旗','150600',3);
insert into area(code,name,parent_code,level) values('150701','市辖区','150700',3);
insert into area(code,name,parent_code,level) values('150702','海拉尔区','150700',3);
insert into area(code,name,parent_code,level) values('150721','阿荣旗','150700',3);
insert into area(code,name,parent_code,level) values('150722','莫力达瓦达斡尔族自治旗','150700',3);
insert into area(code,name,parent_code,level) values('150723','鄂伦春自治旗','150700',3);
insert into area(code,name,parent_code,level) values('150724','鄂温克族自治旗','150700',3);
insert into area(code,name,parent_code,level) values('150725','陈巴尔虎旗','150700',3);
insert into area(code,name,parent_code,level) values('150726','新巴尔虎左旗','150700',3);
insert into area(code,name,parent_code,level) values('150727','新巴尔虎右旗','150700',3);
insert into area(code,name,parent_code,level) values('150781','满洲里市','150700',3);
insert into area(code,name,parent_code,level) values('150782','牙克石市','150700',3);
insert into area(code,name,parent_code,level) values('150783','扎兰屯市','150700',3);
insert into area(code,name,parent_code,level) values('150784','额尔古纳市','150700',3);
insert into area(code,name,parent_code,level) values('150785','根河市','150700',3);
insert into area(code,name,parent_code,level) values('150801','市辖区','150800',3);
insert into area(code,name,parent_code,level) values('150802','临河区','150800',3);
insert into area(code,name,parent_code,level) values('150821','五原县','150800',3);
insert into area(code,name,parent_code,level) values('150822','磴口县','150800',3);
insert into area(code,name,parent_code,level) values('150823','乌拉特前旗','150800',3);
insert into area(code,name,parent_code,level) values('150824','乌拉特中旗','150800',3);
insert into area(code,name,parent_code,level) values('150825','乌拉特后旗','150800',3);
insert into area(code,name,parent_code,level) values('150826','杭锦后旗','150800',3);