码迷,mamicode.com
首页 > 数据库 > 详细

中国省市数据库SQL版

时间:2015-03-01 14:27:40      阅读:360      评论:0      收藏:0      [点我收藏+]

标签:

此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

 

中国省市数据库SQL版

标签:

原文地址:http://www.cnblogs.com/zengb/p/4307011.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!