中国省市数据库SQL版

此SQL数据,为省市数据库,是根据2014年1月发布的《最新县及县以上行政区划代码》。如需县级,自行提取。

  1 TRUNCATE TABLE Areas
  2 --4个直辖市
  3 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘北京‘,0,0,1,1,1
  4 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘天津‘,0,0,1,2,1
  5 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘重庆‘,0,0,1,3,1
  6 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘上海‘,0,0,1,4,1
  7 --23省、5自治区、2特别行政区
  8 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘河北‘,0,0,1,5,1
  9 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘河南‘,0,0,1,6,1
 10 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘黑龙江‘,0,0,1,7,1
 11 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘吉林‘,0,0,1,8,1
 12 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘辽宁‘,0,0,1,9,1
 13 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘山东‘,0,0,1,10,1
 14 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘内蒙古‘,0,0,1,11,1
 15 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘江苏‘,0,0,1,12,1
 16 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘安徽‘,0,0,1,13,1
 17 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘山西‘,0,0,1,14,1
 18 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘陕西‘,0,0,1,15,1
 19 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘甘肃‘,0,0,1,16,1
 20 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘浙江‘,0,0,1,17,1
 21 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘江西‘,0,0,1,18,1
 22 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘湖北‘,0,0,1,19,1
 23 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘湖南‘,0,0,1,20,1
 24 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘贵州‘,0,0,1,21,1
 25 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘四川‘,0,0,1,22,1
 26 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘云南‘,0,0,1,23,1
 27 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘新疆‘,0,0,1,24,1
 28 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘宁夏‘,0,0,1,25,1
 29 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘青海‘,0,0,1,26,1
 30 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘西藏‘,0,0,1,27,1
 31 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘广西‘,0,0,1,28,1
 32 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘广东‘,0,0,1,29,1
 33 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘福建‘,0,0,1,30,1
 34 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘海南‘,0,0,1,31,1
 35 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘台湾‘,0,0,1,32,1
 36 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘香港‘,0,0,1,33,1
 37 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘澳门‘,0,0,1,34,1
 38
 39 --1、北京
 40 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘北京‘,1,0,2,1,1
 41 update Areas set ChildNum=1 where ID=1
 42 --2、天津
 43 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘天津‘,2,0,2,1,1
 44 update Areas set ChildNum=1 where ID=2
 45 --3、重庆
 46 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘重庆‘,3,0,2,1,1
 47 update Areas set ChildNum=1 where ID=3
 48 --4、上海
 49 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘上海‘,4,0,2,1,1
 50 update Areas set ChildNum=1 where ID=4
 51 --5、河北
 52 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘石家庄‘,5,0,2,1,1
 53 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘唐山‘,5,0,2,2,1
 54 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘秦皇岛‘,5,0,2,3,1
 55 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘邯郸‘,5,0,2,4,1
 56 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘邢台‘,5,0,2,5,1
 57 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘保定‘,5,0,2,6,1
 58 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘张家口‘,5,0,2,7,1
 59 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘承德‘,5,0,2,8,1
 60 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘沧州‘,5,0,2,9,1
 61 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘廊坊‘,5,0,2,10,1
 62 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘衡水‘,5,0,2,11,1
 63 update Areas set ChildNum=11 where ID=5
 64 --6、河南
 65 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘郑州‘,6,0,2,1,1
 66 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘开封‘,6,0,2,2,1
 67 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘洛阳‘,6,0,2,3,1
 68 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘平顶山‘,6,0,2,4,1
 69 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘安阳‘,6,0,2,5,1
 70 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘鹤壁‘,6,0,2,6,1
 71 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘新乡‘,6,0,2,7,1
 72 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘焦作‘,6,0,2,8,1
 73 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘濮阳‘,6,0,2,9,1
 74 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘许昌‘,6,0,2,10,1
 75 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘漯河‘,6,0,2,11,1
 76 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘三门峡‘,6,0,2,1    ,1
 77 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘南阳‘,6,0,2,13,1
 78 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘商丘‘,6,0,2,14,1
 79 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘信阳‘,6,0,2,15,1
 80 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘周口‘,6,0,2,16,1
 81 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘驻马店‘,6,0,2,17,1
 82 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘济源‘,6,0,2,18,1
 83 update Areas set ChildNum=18 where ID=6
 84 --7、黑龙江
 85 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘哈尔滨‘,7,0,2,1,1
 86 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘齐齐哈尔‘,7,0,2,2,1
 87 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘鸡西‘,7,0,2,3,1
 88 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘鹤岗‘,7,0,2,4,1
 89 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘双鸭山‘,7,0,2,5,1
 90 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘大庆‘,7,0,2,6,1
 91 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘伊春‘,7,0,2,7,1
 92 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘佳木斯‘,7,0,2,8,1
 93 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘七台河‘,7,0,2,9,1
 94 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘牡丹江‘,7,0,2,10,1
 95 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘黑河‘,7,0,2,11,1
 96 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘绥化‘,7,0,2,12,1
 97 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘大兴安岭‘,7,0,2,13,1
 98 update Areas set ChildNum=13 where ID=7
 99 --8、吉林
100 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘长春‘,8,0,2,1,1
101 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘吉林‘,8,0,2,2,1
102 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘四平‘,8,0,2,3,1
103 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘辽源‘,8,0,2,4,1
104 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘通化‘,8,0,2,5,1
105 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘白山‘,8,0,2,6,1
106 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘松原‘,8,0,2,7,1
107 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘白城‘,8,0,2,8,1
108 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘延边州‘,8,0,2,9,1
109 update Areas set ChildNum=9 where ID=8
110 --9、辽宁
111 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘沈阳‘,9,0,2,1,1
112 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘大连‘,9,0,2,2,1
113 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘鞍山‘,9,0,2,3,1
114 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘抚顺‘,9,0,2,4,1
115 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘本溪‘,9,0,2,5,1
116 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘丹东‘,9,0,2,6,1
117 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘锦州‘,9,0,2,7,1
118 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘营口‘,9,0,2,8,1
119 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘阜新‘,9,0,2,9,1
120 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘辽阳‘,9,0,2,10,1
121 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘盘锦‘,9,0,2,11,1
122 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘铁岭‘,9,0,2,12,1
123 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘朝阳‘,9,0,2,13,1
124 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘葫芦岛‘,9,0,2,14,1
125 update Areas set ChildNum=14 where ID=9
126 --10、山东
127 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘济南‘,10,0,2,1,1
128 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘青岛‘,10,0,2,2,1
129 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘淄博‘,10,0,2,3,1
130 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘枣庄‘,10,0,2,4,1
131 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘东营‘,10,0,2,5,1
132 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘烟台‘,10,0,2,6,1
133 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘潍坊‘,10,0,2,7,1
134 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘济宁‘,10,0,2,8,1
135 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘泰安‘,10,0,2,9,1
136 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘威海‘,10,0,2,10,1
137 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘日照‘,10,0,2,11,1
138 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘莱芜‘,10,0,2,12,1
139 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘临沂‘,10,0,2,13,1
140 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘德州‘,10,0,2,14,1
141 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘聊城‘,10,0,2,15,1
142 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘滨州‘,10,0,2,16,1
143 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘菏泽‘,10,0,2,17,1
144 update Areas set ChildNum=17 where ID=10
145 --11、内蒙古
146 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘呼和浩特‘,11,0,2,1,1
147 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘包头‘,11,0,2,2,1
148 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘乌海‘,11,0,2,3,1
149 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘赤峰‘,11,0,2,4,1
150 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘通辽‘,11,0,2,5,1
151 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘鄂尔多斯‘,11,0,2,6,1
152 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘呼伦贝尔‘,11,0,2,7,1
153 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘巴彦淖尔‘,11,0,2,8,1
154 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘乌兰察布‘,11,0,2,9,1
155 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘兴安‘,11,0,2,10,1
156 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘锡林郭勒‘,11,0,2,11,1
157 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘阿拉善‘,11,0,2,12,1
158 update Areas set ChildNum=12 where ID=11
159 --12、江苏
160 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘南京‘,12,0,2,1,1
161 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘无锡‘,12,0,2,2,1
162 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘徐州‘,12,0,2,3,1
163 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘常州‘,12,0,2,4,1
164 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘苏州‘,12,0,2,5,1
165 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘南通‘,12,0,2,6,1
166 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘连云港‘,12,0,2,7,1
167 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘淮安‘,12,0,2,8,1
168 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘盐城‘,12,0,2,9,1
169 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘扬州‘,12,0,2,10,1
170 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘镇江‘,12,0,2,11,1
171 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘泰州‘,12,0,2,12,1
172 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘宿迁‘,12,0,2,13,1
173 update Areas set ChildNum=13 where ID=12
174 --13、安徽
175 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘合肥‘,13,0,2,1,1
176 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘芜湖‘,13,0,2,2,1
177 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘蚌埠‘,13,0,2,3,1
178 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘淮南‘,13,0,2,4,1
179 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘马鞍山‘,13,0,2,5,1
180 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘淮北‘,13,0,2,6,1
181 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘铜陵‘,13,0,2,7,1
182 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘安庆‘,13,0,2,8,1
183 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘黄山‘,13,0,2,9,1
184 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘滁州‘,13,0,2,10,1
185 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘阜阳‘,13,0,2,11,1
186 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘宿州‘,13,0,2,12,1
187 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘六安‘,13,0,2,13,1
188 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘亳州‘,13,0,2,14,1
189 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘池州‘,13,0,2,15,1
190 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘宣城‘,13,0,2,16,1
191 update Areas set ChildNum=16 where ID=13
192 --14、山西
193 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘太原‘,14,0,2,1,1
194 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘大同‘,14,0,2,2,1
195 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘阳泉‘,14,0,2,3,1
196 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘长治‘,14,0,2,4,1
197 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘晋城‘,14,0,2,5,1
198 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘朔州‘,14,0,2,6,1
199 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘晋中‘,14,0,2,7,1
200 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘运城‘,14,0,2,8,1
201 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘忻州‘,14,0,2,9,1
202 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘临汾‘,14,0,2,10,1
203 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘吕梁‘,14,0,2,11,1
204 update Areas set ChildNum=11 where ID=14
205 --15、陕西
206 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘西安‘,15,0,2,1,1
207 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘铜川‘,15,0,2,2,1
208 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘宝鸡‘,15,0,2,3,1
209 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘咸阳‘,15,0,2,4,1
210 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘渭南‘,15,0,2,5,1
211 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘延安‘,15,0,2,6,1
212 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘汉中‘,15,0,2,7,1
213 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘榆林‘,15,0,2,8,1
214 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘安康‘,15,0,2,9,1
215 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘商洛‘,15,0,2,10,1
216 update Areas set ChildNum=10 where ID=15
217 --16、甘肃(含:金昌)
218 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘兰州‘,16,0,2,1,1
219 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘金昌‘,16,0,2,2,1
220 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘白银‘,16,0,2,3,1
221 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘天水‘,16,0,2,4,1
222 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘嘉峪关‘,16,0,2,5,1
223 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘武威‘,16,0,2,6,1
224 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘张掖‘,16,0,2,7,1
225 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘平凉‘,16,0,2,8,1
226 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘酒泉‘,16,0,2,9,1
227 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘庆阳‘,16,0,2,10,1
228 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘定西‘,16,0,2,11,1
229 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘陇南‘,16,0,2,12,1
230 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘临夏州‘,16,0,2,13,1
231 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘甘南州‘,16,0,2,14,1
232 update Areas set ChildNum=14 where ID=16
233 --17、浙江
234 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘杭州‘,17,0,2,1,1
235 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘宁波‘,17,0,2,2,1
236 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘温州‘,17,0,2,3,1
237 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘嘉兴‘,17,0,2,4,1
238 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘湖州‘,17,0,2,5,1
239 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘绍兴‘,17,0,2,6,1
240 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘金华‘,17,0,2,7,1
241 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘衢州‘,17,0,2,8,1
242 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘舟山‘,17,0,2,9,1
243 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘台州‘,17,0,2,10,1
244 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘丽水‘,17,0,2,11,1
245 update Areas set ChildNum=11 where ID=17
246 --18、江西
247 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘南昌‘,18,0,2,1,1
248 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘景德镇‘,18,0,2,2,1
249 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘萍乡‘,18,0,2,3,1
250 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘九江‘,18,0,2,4,1
251 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘新余‘,18,0,2,5,1
252 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘鹰潭‘,18,0,2,6,1
253 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘赣州‘,18,0,2,7,1
254 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘吉安‘,18,0,2,8,1
255 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘宜春‘,18,0,2,9,1
256 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘抚州‘,18,0,2,10,1
257 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘上饶‘,18,0,2,11,1
258 update Areas set ChildNum=11 where ID=18
259 --19、湖北
260 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘武汉‘,19,0,2,1,1
261 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘黄石‘,19,0,2,2,1
262 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘十堰‘,19,0,2,3,1
263 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘宜昌‘,19,0,2,4,1
264 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘襄阳‘,19,0,2,5,1
265 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘鄂州‘,19,0,2,6,1
266 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘荆门‘,19,0,2,7,1
267 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘孝感‘,19,0,2,8,1
268 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘荆州‘,19,0,2,9,1
269 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘黄冈‘,19,0,2,10,1
270 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘咸宁‘,19,0,2,11,1
271 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘随州‘,19,0,2,12,1
272 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘恩施州‘,19,0,2,13,1
273 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘仙桃‘,19,0,2,14,1
274 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘潜江‘,19,0,2,15,1
275 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘天门‘,19,0,2,16,1
276 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘神农架‘,19,0,2,17,1
277 update Areas set ChildNum=17 where ID=19
278 --20、湖南
279 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘长沙‘,20,0,2,1,1
280 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘株洲‘,20,0,2,2,1
281 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘湘潭‘,20,0,2,3,1
282 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘衡阳‘,20,0,2,4,1
283 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘邵阳‘,20,0,2,5,1
284 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘岳阳‘,20,0,2,6,1
285 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘常德‘,20,0,2,7,1
286 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘张家界‘,20,0,2,8,1
287 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘益阳‘,20,0,2,9,1
288 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘郴州‘,20,0,2,10,1
289 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘永州‘,20,0,2,11,1
290 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘怀化‘,20,0,2,12,1
291 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘娄底‘,20,0,2,13,1
292 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘湘西州‘,20,0,2,14,1
293 update Areas set ChildNum=14 where ID=20
294 --21、贵州
295 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘贵阳‘,21,0,2,1,1
296 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘六盘水‘,21,0,2,2,1
297 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘遵义‘,21,0,2,3,1
298 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘安顺‘,21,0,2,4,1
299 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘毕节‘,21,0,2,5,1
300 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘铜仁‘,21,0,2,6,1
301 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘黔西南州‘,21,0,2,7,1
302 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘黔东南州‘,21,0,2,8,1
303 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘黔南州‘,21,0,2,9,1
304 update Areas set ChildNum=9 where ID=21
305 --22、四州
306 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘成都‘,22,0,2,1,1
307 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘自贡‘,22,0,2,2,1
308 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘攀枝花‘,22,0,2,3,1
309 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘泸州‘,22,0,2,4,1
310 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘德阳‘,22,0,2,5,1
311 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘绵阳‘,22,0,2,6,1
312 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘广元‘,22,0,2,7,1
313 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘遂宁‘,22,0,2,8,1
314 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘内江‘,22,0,2,9,1
315 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘乐山‘,22,0,2,10,1
316 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘南充‘,22,0,2,11,1
317 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘眉山‘,22,0,2,12,1
318 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘宜宾‘,22,0,2,13,1
319 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘广安‘,22,0,2,14,1
320 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘达州‘,22,0,2,15,1
321 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘雅安‘,22,0,2,16,1
322 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘巴中‘,22,0,2,17,1
323 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘资阳‘,22,0,2,18,1
324 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘阿坝州‘,22,0,2,19,1
325 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘甘孜州‘,22,0,2,20,1
326 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘凉山州‘,22,0,2,21,1
327 update Areas set ChildNum=21 where ID=22
328 --23、云南
329 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘昆明‘,23,0,2,1,1
330 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘曲靖‘,23,0,2,2,1
331 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘玉溪‘,23,0,2,3,1
332 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘保山‘,23,0,2,4,1
333 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘昭通‘,23,0,2,5,1
334 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘丽江‘,23,0,2,6,1
335 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘普洱‘,23,0,2,7,1
336 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘临沧‘,23,0,2,8,1
337 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘楚雄州‘,23,0,2,9,1
338 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘红河州‘,23,0,2,10,1
339 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘文山州‘,23,0,2,11,1
340 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘西双版纳‘,23,0,2,12,1
341 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘大理州‘,23,0,2,13,1
342 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘德宏州‘,23,0,2,14,1
343 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘怒江州‘,23,0,2,15,1
344 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘迪庆州‘,23,0,2,16,1
345 update Areas set ChildNum=16 where ID=23
346 --24、新疆
347 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘乌鲁木齐‘,24,0,2,1,1
348 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘克拉玛依‘,24,0,2,2,1
349 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘吐鲁番‘,24,0,2,3,1
350 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘哈密‘,24,0,2,4,1
351 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘昌吉州‘,24,0,2,5,1
352 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘博尔塔拉‘,24,0,2,6,1
353 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘巴音郭楞‘,24,0,2,7,1
354 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘阿克苏‘,24,0,2,8,1
355 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘克孜勒苏‘,24,0,2,9,1
356 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘喀什‘,24,0,2,10,1
357 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘和田‘,24,0,2,11,1
358 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘伊犁州‘,24,0,2,12,1
359 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘塔城‘,24,0,2,13,1
360 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘阿勒泰‘,24,0,2,14,1
361 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘石河子‘,24,0,2,15,1
362 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘阿拉尔‘,24,0,2,16,1
363 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘图木舒克‘,24,0,2,17,1
364 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘五家渠‘,24,0,2,18,1
365 update Areas set ChildNum=18 where ID=24
366 --25、宁夏
367 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘银川‘,25,0,2,1,1
368 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘石嘴山‘,25,0,2,2,1
369 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘吴忠‘,25,0,2,3,1
370 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘固原‘,25,0,2,4,1
371 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘中卫‘,25,0,2,5,1
372 update Areas set ChildNum=5 where ID=25
373 --26、青海
374 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘西宁‘,26,0,2,1,1
375 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘海东‘,26,0,2,2,1
376 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘海北州‘,26,0,2,3,1
377 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘黄南州‘,26,0,2,4,1
378 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘海南州‘,26,0,2,5,1
379 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘果洛州‘,26,0,2,6,1
380 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘玉树州‘,26,0,2,7,1
381 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘海西州‘,26,0,2,8,1
382 update Areas set ChildNum=8 where ID=26
383 --27、西藏
384 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘拉萨‘,27,0,2,1,1
385 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘昌都‘,27,0,2,2,1
386 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘山南‘,27,0,2,3,1
387 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘日喀则‘,27,0,2,4,1
388 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘那曲‘,27,0,2,5,1
389 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘阿里‘,27,0,2,6,1
390 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘林芝‘,27,0,2,7,1
391 update Areas set ChildNum=7 where ID=27
392 --28、广西
393 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘南宁‘,28,0,2,1,1
394 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘柳州‘,28,0,2,2,1
395 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘桂林‘,28,0,2,3,1
396 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘梧州‘,28,0,2,4,1
397 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘北海‘,28,0,2,5,1
398 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘防城港‘,28,0,2,6,1
399 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘钦州‘,28,0,2,7,1
400 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘贵港‘,28,0,2,8,1
401 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘玉林‘,28,0,2,9,1
402 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘百色‘,28,0,2,10,1
403 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘贺州‘,28,0,2,11,1
404 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘河池‘,28,0,2,12,1
405 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘来宾‘,28,0,2,13,1
406 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘崇左‘,28,0,2,14,1
407 update Areas set ChildNum=14 where ID=28
408 --29、广东
409 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘广州‘,29,0,2,1,1
410 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘韶关‘,29,0,2,2,1
411 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘深圳‘,29,0,2,3,1
412 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘珠海‘,29,0,2,4,1
413 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘汕头‘,29,0,2,5,1
414 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘佛山‘,29,0,2,6,1
415 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘江门‘,29,0,2,7,1
416 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘湛江‘,29,0,2,8,1
417 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘茂名‘,29,0,2,9,1
418 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘肇庆‘,29,0,2,10,1
419 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘惠州‘,29,0,2,11,1
420 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘梅州‘,29,0,2,12,1
421 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘汕尾‘,29,0,2,13,1
422 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘河源‘,29,0,2,14,1
423 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘阳江‘,29,0,2,15,1
424 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘清远‘,29,0,2,16,1
425 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘东莞‘,29,0,2,17,1
426 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘中山‘,29,0,2,18,1
427 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘潮州‘,29,0,2,19,1
428 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘揭阳‘,29,0,2,20,1
429 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘云浮‘,29,0,2,21,1
430 update Areas set ChildNum=21 where ID=29
431 --30、福建
432 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘福州‘,30,0,2,1,1
433 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘厦门‘,30,0,2,2,1
434 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘莆田‘,30,0,2,3,1
435 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘三明‘,30,0,2,4,1
436 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘泉州‘,30,0,2,5,1
437 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘漳州‘,30,0,2,6,1
438 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘南平‘,30,0,2,7,1
439 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘龙岩‘,30,0,2,8,1
440 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘宁德‘,30,0,2,9,1
441 update Areas set ChildNum=9 where ID=30
442 --31、海南
443 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘海口‘,31,0,2,1,1
444 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘三亚‘,31,0,2,2,1
445 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘三沙‘,31,0,2,3,1
446 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘五指山‘,31,0,2,4,1
447 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘琼海‘,31,0,2,5,1
448 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘儋州‘,31,0,2,6,1
449 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘文昌‘,31,0,2,7,1
450 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘万宁‘,31,0,2,8,1
451 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘东方‘,31,0,2,9,1
452 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘定安‘,31,0,2,10,1
453 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘屯昌‘,31,0,2,11,1
454 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘澄迈‘,31,0,2,12,1
455 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘临高‘,31,0,2,13,1
456 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘白沙‘,31,0,2,14,1
457 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘昌江‘,31,0,2,15,1
458 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘乐东‘,31,0,2,16,1
459 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘陵水‘,31,0,2,17,1
460 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘保亭‘,31,0,2,18,1
461 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘琼中‘,31,0,2,19,1
462 update Areas set ChildNum=19 where ID=31
463 --32、台湾
464 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘台湾‘,32,0,2,1,1
465 update Areas set ChildNum=1 where ID=32
466 --33、香港
467 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘香港‘,33,0,2,1,1
468 update Areas set ChildNum=1 where ID=33
469 --34、澳门
470 insert into Areas(title,root_id,ChildNum,Layer,Sort_Id,IsOpen) select ‘澳门‘,34,0,2,1,1
471 update Areas set ChildNum=1 where ID=34
时间: 2024-10-09 21:16:00

中国省市数据库SQL版的相关文章

2014中国省市数据库

insert into __table(id,[name],parentid)values('1','北京市','0') insert into __table(id,[name],parentid)values('2','东城区','1') insert into __table(id,[name],parentid)values('3','西城区','1') insert into __table(id,[name],parentid)values('4','朝阳区','1') insert

Webform——中国省市三级联动以及IsPostBack

首先要明白Webform的运行顺序,当开始启动时候,首先执行的是Page_Load事件, 当点击任意按钮后,每次点击都要先执行一遍Page_Load(在这里Page_Load里面的事件是给数据控件加载数据)事件,然后才执行按钮上的内容. 但是如果是一个数据控件,里面存的是一些数据,如果用foreach遍历逐项给数据控件添数据的话,每次点击按钮(即刷新页面)都会执行一遍Page_Load,也就是说每次都要重复添加原来的数据,所以这就需要一个判断条件,使它只会第一次启动的时候走Page_Load事件

【ACE】恩墨《访客》第一期嘉宾-刘盛-中国Oracle数据库领域首位ACEA

访客视频链接:即将推出 <访 客> 第一期嘉宾 刘盛 <追求极致的人> 引言:各位朋友大家好,恩墨的第一期<访客>节目与大家见面了             今天我们邀请的第一期嘉宾是中国数据库领域首位Oracle ACEA~刘盛 嘉宾简介: 刘盛 网络ID:leonarding PBCCRC高级数据架构师 Oracle ACEA ACOUG 核心成员 Dataguru 专家组成员 Oracle OCM 中国最大数据库社区ITPUB版主 荣获2012&2013年度

MySQL数据库工具类之——DataTable批量加入MySQL数据库(Net版)

MySQL数据库工具类之——DataTable批量加入数据库(Net版),MySqlDbHelper通用类希望能对大家有用,代码如下: using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Text; p

奖学金评比系统(数据库系统设计版)

文档介绍 文档目的 在奖学金评比过程中,学生综合测评是学校普遍采用的评比手段.对学生实施综合素质测评的目的在于正确评价学生的综合素质,为评奖学金提供依据,实现学生教育管理工作的标准化.制度化和科学化,引导和促进学生德.智.体.美全面发展. 目前我国普遍高校学生奖学金评比还停留在纸质的阶段,许多工作需要传统的手工操作,这不仅浪费了大量的人力物力资源,而且由于人工管理存在着许多不可控因素,导致学生奖学金评比操作不规范,测评结果不全面,不能客观准确地反应学生的综合素质.因此,建立一套基于计算机环境的技

选择阿里云数据库HBase版十大理由

根据Gartner的预计,全球非关系型数据库(NoSQL)在2020~2022预计保持在30%左右高速增长,远高于数据库整体市场. 阿里云数据库HBase版也是踏着技术发展的节奏,伴随着NoSQL和大数据技术的兴起和发展,从2010年开始研究和发展.时光荏苒,日月如梭,转眼九年时间,在阿里云上直接开放提供服务也有1年多时间,并在去年的12月份全新发布X-Pack,将单一的HBase演进到一个完整的数据处理平台的能力.我们注意到还有很多同学和客户不清楚HBase X-Pack是什么,什么场景下合适

云数据库 MariaDB 版

基于MariaDB企业版全球独家合作认证,提供Oracle兼容性及众多企业级数据库特性.支持包括MySQL InnoDB等多种存储引擎,为不同需求的用户提供灵活的选择. 请看视频简介 优势 Oracle兼容性支持包括PL/SQL.序列.动态SQL及Package等语法和对象 企业版独家合作全球唯一MariaDB企业版合作云厂商,提供更高的数据库稳定性保障 支持多种存储引擎针对不同业务需求,您可以灵活选用InnoDB.MyRocks储存引擎 企业级数据库特性支持窗口函数.在线数据溯源恢复.在线添加

你用什么方法检查PHP脚本的执行效率(通常是脚本执行时间)和数据库SQL的效率(通常是数据库Query时间),并定位和分析脚本执行和数据库查询的瓶颈所在?

腾讯 PHP脚本的执行效率 1, 代码脚本里计时. 2, xdebug统计函数执行次数和具体时间进行分析.,最好使用工具winCacheGrind分析 3, 在线系统用strace跟踪相关进程的具体系统调用. 数据库SQL的效率 sql的explain(mysql),启用slow query log记录慢查询. 通常还要看数据库设计是否合理,需求是否合理等.

数据库SQL优化大总结之 百万级数据库优化方

http://tw.streetvoice.com/anssm001/songs/album/93124674/ http://tw.streetvoice.com/anssm001/songs/album/93124684/ http://tw.streetvoice.com/anssm001/songs/album/93124698/ http://tw.streetvoice.com/anssm001/songs/album/93124716/ http://tw.streetvoice.