最新省市区数据,sql插入语句

--省数据

insert into Province (ProvinceName)  values(‘北京市‘);

insert into Province (ProvinceName)  values(‘天津市‘);

insert into Province (ProvinceName)  values(‘上海市‘);

insert into Province (ProvinceName)  values(‘重庆市‘);

insert into Province (ProvinceName)  values(‘河北省‘);

insert into Province (ProvinceName)  values(‘山西省‘);

insert into Province (ProvinceName)  values(‘台湾省‘);

insert into Province (ProvinceName)  values(‘辽宁省‘);

insert into Province (ProvinceName)  values(‘吉林省‘);

insert into Province (ProvinceName)  values(‘黑龙江省‘);

insert into Province (ProvinceName)  values(‘江苏省‘);

insert into Province (ProvinceName)  values(‘浙江省‘);

insert into Province (ProvinceName)  values(‘安徽省‘);

insert into Province (ProvinceName)  values(‘福建省‘);

insert into Province (ProvinceName)  values(‘江西省‘);

insert into Province (ProvinceName)  values(‘山东省‘);

insert into Province (ProvinceName)  values(‘河南省‘);

insert into Province (ProvinceName)  values(‘湖北省‘);

insert into Province (ProvinceName)  values(‘湖南省‘);

insert into Province (ProvinceName)  values(‘广东省‘);

insert into Province (ProvinceName)  values(‘甘肃省‘);

insert into Province (ProvinceName)  values(‘四川省‘);

insert into Province (ProvinceName)  values(‘贵州省‘);

insert into Province (ProvinceName)  values(‘海南省‘);

insert into Province (ProvinceName)  values(‘云南省‘);

insert into Province (ProvinceName)  values(‘青海省‘);

insert into Province (ProvinceName)  values(‘陕西省‘);

insert into Province (ProvinceName)  values(‘广西壮族自治区‘);

insert into Province (ProvinceName)  values(‘西藏自治区‘);

insert into Province (ProvinceName)  values(‘宁夏回族自治区‘);

insert into Province (ProvinceName)  values(‘新疆维吾尔自治区‘);

insert into Province (ProvinceName)  values(‘内蒙古自治区‘);

insert into Province (ProvinceName)  values(‘澳门特别行政区‘);

insert into Province (ProvinceName)  values(‘香港特别行政区‘);

-----------------------------------------------------------------------------

--插入各个省的城市数据

--4个直辖市

insert into city (CityName,ProvinceID) values(‘北京市‘,1);

insert into city (CityName,ProvinceID) values(‘天津市‘,2);

insert into city (CityName,ProvinceID) values(‘上海市‘,3);

insert into city (CityName,ProvinceID) values(‘重庆市‘,4);

--5河北省 11个地级市

insert into city (CityName,ProvinceID) values(‘石家庄市‘,5);

insert into city (CityName,ProvinceID) values(‘唐山市‘,5);

insert into city (CityName,ProvinceID) values(‘秦皇岛市‘,5);

insert into city (CityName,ProvinceID) values(‘邯郸市‘,5);

insert into city (CityName,ProvinceID) values(‘邢台市‘,5);

insert into city (CityName,ProvinceID) values(‘保定市‘,5);

insert into city (CityName,ProvinceID) values(‘张家口市‘,5);

insert into city (CityName,ProvinceID) values(‘承德市‘,5);

insert into city (CityName,ProvinceID) values(‘沧州市‘,5);

insert into city (CityName,ProvinceID) (CityName,ProvinceID) values(‘廊坊市‘,5);

insert into city (CityName,ProvinceID) values(‘衡水市‘,5);

--6山西省 11个城市

insert into city (CityName,ProvinceID) values(‘太原市‘,6);

insert into city (CityName,ProvinceID) values(‘大同市‘,6);

insert into city (CityName,ProvinceID) values(‘阳泉市‘,6);

insert into city (CityName,ProvinceID) values(‘长治市‘,6);

insert into city (CityName,ProvinceID) values(‘晋城市‘,6);

insert into city (CityName,ProvinceID) values(‘朔州市‘,6);

insert into city (CityName,ProvinceID) values(‘晋中市‘,6);

insert into city (CityName,ProvinceID) values(‘运城市‘,6);

insert into city (CityName,ProvinceID) values(‘忻州市‘,6);

insert into city (CityName,ProvinceID) values(‘临汾市‘,6);

insert into city (CityName,ProvinceID) values(‘吕梁市‘,6);

--7台湾省(台湾本岛和澎湖共设7市、16县,其中台北市和高雄市为“院辖市”,直属“行政院”,其余属台湾省;市下设区,县下设市(县辖市)、镇、乡,合称区市镇乡。);

insert into city (CityName,ProvinceID) values(‘台北市‘,7);

insert into city (CityName,ProvinceID) values(‘高雄市‘,7);

insert into city (CityName,ProvinceID) values(‘基隆市‘,7);

insert into city (CityName,ProvinceID) values(‘台中市‘,7);

insert into city (CityName,ProvinceID) values(‘台南市‘,7);

insert into city (CityName,ProvinceID) values(‘新竹市‘,7);

insert into city (CityName,ProvinceID) values(‘嘉义市‘,7);

insert into city (CityName,ProvinceID) values(‘台北县‘,7);

insert into city (CityName,ProvinceID) values(‘宜兰县‘,7);

insert into city (CityName,ProvinceID) values(‘桃园县‘,7);

insert into city (CityName,ProvinceID) values(‘新竹县‘,7);

insert into city (CityName,ProvinceID) values(‘苗栗县‘,7);

insert into city (CityName,ProvinceID) values(‘台中县‘,7);

insert into city (CityName,ProvinceID) values(‘彰化县‘,7);

insert into city (CityName,ProvinceID) values(‘南投县‘,7);

insert into city (CityName,ProvinceID) values(‘云林县‘,7);

insert into city (CityName,ProvinceID) values(‘嘉义县‘,7);

insert into city (CityName,ProvinceID) values(‘台南县‘,7);

insert into city (CityName,ProvinceID) values(‘高雄县‘,7);

insert into city (CityName,ProvinceID) values(‘屏东县‘,7);

insert into city (CityName,ProvinceID) values(‘澎湖县‘,7);

insert into city (CityName,ProvinceID) values(‘台东县‘,7);

insert into city (CityName,ProvinceID) values(‘花莲县‘,7);

--8辽宁省 14个地级市
insert into city (CityName,ProvinceID) values(‘沈阳市‘,8);
insert into city (CityName,ProvinceID) values(‘大连市‘,8);
insert into city (CityName,ProvinceID) values(‘鞍山市‘,8);
insert into city (CityName,ProvinceID) values(‘抚顺市‘,8);
insert into city (CityName,ProvinceID) values(‘本溪市‘,8);
insert into city (CityName,ProvinceID) values(‘丹东市‘,8);
insert into city (CityName,ProvinceID) values(‘锦州市‘,8);
insert into city (CityName,ProvinceID) values(‘营口市‘,8);
insert into city (CityName,ProvinceID) values(‘阜新市‘,8);
insert into city (CityName,ProvinceID) values(‘辽阳市‘,8);
insert into city (CityName,ProvinceID) values(‘盘锦市‘,8);
insert into city (CityName,ProvinceID) values(‘铁岭市‘,8);
insert into city (CityName,ProvinceID) values(‘朝阳市‘,8);
insert into city (CityName,ProvinceID) values(‘葫芦岛市‘,8);

--9吉林省(2006年,辖:8个地级市、1个自治州;20个市辖区、20个县级市、17个县、3个自治县。);
insert into city (CityName,ProvinceID) values(‘长春市‘,9);
insert into city (CityName,ProvinceID) values(‘吉林市‘,9);
insert into city (CityName,ProvinceID) values(‘四平市‘,9);
insert into city (CityName,ProvinceID) values(‘辽源市‘,9);
insert into city (CityName,ProvinceID) values(‘通化市‘,9);
insert into city (CityName,ProvinceID) values(‘白山市‘,9);
insert into city (CityName,ProvinceID) values(‘松原市‘,9);
insert into city (CityName,ProvinceID) values(‘白城市‘,9);
insert into city (CityName,ProvinceID) values(‘延边朝鲜族自治州‘,9);

--10黑龙江省(2006年,辖:12地级市、1地区;64市辖区、18县级市、45县、1自治县);
insert into city (CityName,ProvinceID) values(‘哈尔滨市‘,10);
insert into city (CityName,ProvinceID) values(‘齐齐哈尔市‘,10);
insert into city (CityName,ProvinceID) values(‘鹤岗市‘,10);
insert into city (CityName,ProvinceID) values(‘双鸭山市‘,10);
insert into city (CityName,ProvinceID) values(‘鸡西市‘,10);
insert into city (CityName,ProvinceID) values(‘大庆市‘,10);
insert into city (CityName,ProvinceID) values(‘伊春市‘,10);
insert into city (CityName,ProvinceID) values(‘牡丹江市‘,10);
insert into city (CityName,ProvinceID) values(‘佳木斯市‘,10);
insert into city (CityName,ProvinceID) values(‘七台河市‘,10);
insert into city (CityName,ProvinceID) values(‘黑 河 市‘,10);
insert into city (CityName,ProvinceID) values(‘绥 化 市‘,10);
insert into city (CityName,ProvinceID) values(‘大兴安岭地区‘,10);

--11江苏省(2005年辖:13个地级市;54个市辖区、27个县级市、25个县);
insert into city (CityName,ProvinceID) values(‘南京市‘,11);
insert into city (CityName,ProvinceID) values(‘无锡市‘,11);
insert into city (CityName,ProvinceID) values(‘徐州市‘,11);
insert into city (CityName,ProvinceID) values(‘常州市‘,11);
insert into city (CityName,ProvinceID) values(‘苏州市‘,11);
insert into city (CityName,ProvinceID) values(‘南通市‘,11);
insert into city (CityName,ProvinceID) values(‘连云港市‘,11);
insert into city (CityName,ProvinceID) values(‘淮安市‘,11);
insert into city (CityName,ProvinceID) values(‘盐城市‘,11);
insert into city (CityName,ProvinceID) values(‘扬州市‘,11);
insert into city (CityName,ProvinceID) values(‘镇江市‘,11);
insert into city (CityName,ProvinceID) values(‘泰州市‘,11);
insert into city (CityName,ProvinceID) values(‘宿迁市‘,11);

--12浙江省(2006年,辖:11个地级市;32个市辖区、22个县级市、35个县、1个自治县。);
insert into city (CityName,ProvinceID) values(‘杭州市‘,12);
insert into city (CityName,ProvinceID) values(‘宁波市‘,12);
insert into city (CityName,ProvinceID) values(‘温州市‘,12);
insert into city (CityName,ProvinceID) values(‘嘉兴市‘,12);
insert into city (CityName,ProvinceID) values(‘湖州市‘,12);
insert into city (CityName,ProvinceID) values(‘绍兴市‘,12);
insert into city (CityName,ProvinceID) values(‘金华市‘,12);
insert into city (CityName,ProvinceID) values(‘衢州市‘,12);
insert into city (CityName,ProvinceID) values(‘舟山市‘,12);
insert into city (CityName,ProvinceID) values(‘台州市‘,12);
insert into city (CityName,ProvinceID) values(‘丽水市‘,12);

--13安徽省(2005年辖:17个地级市;44个市辖区、5县个级市、56个县。);
insert into city (CityName,ProvinceID) values(‘合肥市‘,13);
insert into city (CityName,ProvinceID) values(‘芜湖市‘,13);
insert into city (CityName,ProvinceID) values(‘蚌埠市‘,13);
insert into city (CityName,ProvinceID) values(‘淮南市‘,13);
insert into city (CityName,ProvinceID) values(‘马鞍山市‘,13);
insert into city (CityName,ProvinceID) values(‘淮北市‘,13);
insert into city (CityName,ProvinceID) values(‘铜陵市‘,13);
insert into city (CityName,ProvinceID) values(‘安庆市‘,13);
insert into city (CityName,ProvinceID) values(‘黄山市‘,13);
insert into city (CityName,ProvinceID) values(‘滁州市‘,13);
insert into city (CityName,ProvinceID) values(‘阜阳市‘,13);
insert into city (CityName,ProvinceID) values(‘宿州市‘,13);
insert into city (CityName,ProvinceID) values(‘巢湖市‘,13);
insert into city (CityName,ProvinceID) values(‘六安市‘,13);
insert into city (CityName,ProvinceID) values(‘亳州市‘,13);
insert into city (CityName,ProvinceID) values(‘池州市‘,13);
insert into city (CityName,ProvinceID) values(‘宣城市‘,13);

--14福建省(2006年辖:9个地级市;26个市辖区、14个县级市、45个县。);
insert into city (CityName,ProvinceID) values(‘福州市‘,14);
insert into city (CityName,ProvinceID) values(‘厦门市‘,14);
insert into city (CityName,ProvinceID) values(‘莆田市‘,14);
insert into city (CityName,ProvinceID) values(‘三明市‘,14);
insert into city (CityName,ProvinceID) values(‘泉州市‘,14);
insert into city (CityName,ProvinceID) values(‘漳州市‘,14);
insert into city (CityName,ProvinceID) values(‘南平市‘,14);
insert into city (CityName,ProvinceID) values(‘龙岩市‘,14);
insert into city (CityName,ProvinceID) values(‘宁德市‘,14);

--15江西省(2006年全省辖:11个地级市;19个市辖区、10个县级市、70个县。);
insert into city (CityName,ProvinceID) values(‘南昌市‘,15);
insert into city (CityName,ProvinceID) values(‘景德镇市‘,15);
insert into city (CityName,ProvinceID) values(‘萍乡市‘,15);
insert into city (CityName,ProvinceID) values(‘九江市‘,15);
insert into city (CityName,ProvinceID) values(‘新余市‘,15);
insert into city (CityName,ProvinceID) values(‘鹰潭市‘,15);
insert into city (CityName,ProvinceID) values(‘赣州市‘,15);
insert into city (CityName,ProvinceID) values(‘吉安市‘,15);
insert into city (CityName,ProvinceID) values(‘宜春市‘,15);
insert into city (CityName,ProvinceID) values(‘抚州市‘,15);
insert into city (CityName,ProvinceID) values(‘上饶市‘,15);

--16山东省(2005年,辖:17个地级市;49个市辖区、31个县级市、60个县。);
insert into city (CityName,ProvinceID) values(‘济南市‘,16);
insert into city (CityName,ProvinceID) values(‘青岛市‘,16);
insert into city (CityName,ProvinceID) values(‘淄博市‘,16);
insert into city (CityName,ProvinceID) values(‘枣庄市‘,16);
insert into city (CityName,ProvinceID) values(‘东营市‘,16);
insert into city (CityName,ProvinceID) values(‘烟台市‘,16);
insert into city (CityName,ProvinceID) values(‘潍坊市‘,16);
insert into city (CityName,ProvinceID) values(‘济宁市‘,16);
insert into city (CityName,ProvinceID) values(‘泰安市‘,16);
insert into city (CityName,ProvinceID) values(‘威海市‘,16);
insert into city (CityName,ProvinceID) values(‘日照市‘,16);
insert into city (CityName,ProvinceID) values(‘莱芜市‘,16);
insert into city (CityName,ProvinceID) values(‘临沂市‘,16);
insert into city (CityName,ProvinceID) values(‘德州市‘,16);
insert into city (CityName,ProvinceID) values(‘聊城市‘,16);
insert into city (CityName,ProvinceID) values(‘滨州市‘,16);
insert into city (CityName,ProvinceID) values(‘菏泽市‘,16);

--17河南省 17个地级市
insert into city (CityName,ProvinceID) values(‘郑州市‘,17);
insert into city (CityName,ProvinceID) values(‘开封市‘,17);
insert into city (CityName,ProvinceID) values(‘洛阳市‘,17);
insert into city (CityName,ProvinceID) values(‘平顶山市‘,17);
insert into city (CityName,ProvinceID) values(‘安阳市‘,17);
insert into city (CityName,ProvinceID) values(‘鹤壁市‘,17);
insert into city (CityName,ProvinceID) values(‘新乡市‘,17);
insert into city (CityName,ProvinceID) values(‘焦作市‘,17);
insert into city (CityName,ProvinceID) values(‘濮阳市‘,17);
insert into city (CityName,ProvinceID) values(‘许昌市‘,17);
insert into city (CityName,ProvinceID) values(‘漯河市‘,17);
insert into city (CityName,ProvinceID) values(‘三门峡市‘,17);
insert into city (CityName,ProvinceID) values(‘南阳市‘,17);
insert into city (CityName,ProvinceID) values(‘商丘市‘,17);
insert into city (CityName,ProvinceID) values(‘信阳市‘,17);
insert into city (CityName,ProvinceID) values(‘周口市‘,17);
insert into city (CityName,ProvinceID) values(‘驻马店市‘,17);
insert into city (CityName,ProvinceID) values(‘济源市‘,17);

--18湖北省(截至2005年12月31日,全省辖13个地级单位(12个地级市、1个自治州);102县级单位(38个市辖区、24个县级市、37个县、2个自治县、1个林区),共有1220个乡级单位(277个街道、733个镇、210个乡)。)
insert into city (CityName,ProvinceID) values(‘武汉市‘,18);
insert into city (CityName,ProvinceID) values(‘黄石市‘,18);
insert into city (CityName,ProvinceID) values(‘十堰市‘,18);
insert into city (CityName,ProvinceID) values(‘荆州市‘,18);
insert into city (CityName,ProvinceID) values(‘宜昌市‘,18);
insert into city (CityName,ProvinceID) values(‘襄樊市‘,18);
insert into city (CityName,ProvinceID) values(‘鄂州市‘,18);
insert into city (CityName,ProvinceID) values(‘荆门市‘,18);
insert into city (CityName,ProvinceID) values(‘孝感市‘,18);
insert into city (CityName,ProvinceID) values(‘黄冈市‘,18);
insert into city (CityName,ProvinceID) values(‘咸宁市‘,18);
insert into city (CityName,ProvinceID) values(‘随州市‘,18);
insert into city (CityName,ProvinceID) values(‘仙桃市‘,18);
insert into city (CityName,ProvinceID) values(‘天门市‘,18);
insert into city (CityName,ProvinceID) values(‘潜江市‘,18);
insert into city (CityName,ProvinceID) values(‘神农架林区‘,18);
insert into city (CityName,ProvinceID) values(‘恩施土家族苗族自治州‘,18);

--19湖南省(2005年辖:13个地级市、1个自治州;34个市辖区、16个县级市、65个县、7个自治县。)   
insert into city (CityName,ProvinceID) values(‘长沙市‘,19);   
insert into city (CityName,ProvinceID) values(‘株洲市‘,19);   
insert into city (CityName,ProvinceID) values(‘湘潭市‘,19);   
insert into city (CityName,ProvinceID) values(‘衡阳市‘,19);   
insert into city (CityName,ProvinceID) values(‘邵阳市‘,19);   
insert into city (CityName,ProvinceID) values(‘岳阳市‘,19);   
insert into city (CityName,ProvinceID) values(‘常德市‘,19);   
insert into city (CityName,ProvinceID) values(‘张家界市‘,19);   
insert into city (CityName,ProvinceID) values(‘益阳市‘,19);   
insert into city (CityName,ProvinceID) values(‘郴州市‘,19);   
insert into city (CityName,ProvinceID) values(‘永州市‘,19);   
insert into city (CityName,ProvinceID) values(‘怀化市‘,19);   
insert into city (CityName,ProvinceID) values(‘娄底市‘,19);   
insert into city (CityName,ProvinceID) values(‘湘西土家族苗族自治州‘,19);

--20广东省(截至2005年12月31日,广东省辖:21个地级市,54个市辖区、23个县级市、41个县、3个自治县,429个街道办事处、1145个镇、4个乡、7个民族乡。)   
insert into city (CityName,ProvinceID) values(‘广州市‘,20);   
insert into city (CityName,ProvinceID) values(‘深圳市‘,20);   
insert into city (CityName,ProvinceID) values(‘珠海市‘,20);   
insert into city (CityName,ProvinceID) values(‘汕头市‘,20);   
insert into city (CityName,ProvinceID) values(‘韶关市‘,20);   
insert into city (CityName,ProvinceID) values(‘佛山市‘,20);   
insert into city (CityName,ProvinceID) values(‘江门市‘,20);   
insert into city (CityName,ProvinceID) values(‘湛江市‘,20);   
insert into city (CityName,ProvinceID) values(‘茂名市‘,20);   
insert into city (CityName,ProvinceID) values(‘肇庆市‘,20);   
insert into city (CityName,ProvinceID) values(‘惠州市‘,20);   
insert into city (CityName,ProvinceID) values(‘梅州市‘,20);   
insert into city (CityName,ProvinceID) values(‘汕尾市‘,20);   
insert into city (CityName,ProvinceID) values(‘河源市‘,20);   
insert into city (CityName,ProvinceID) values(‘阳江市‘,20);   
insert into city (CityName,ProvinceID) values(‘清远市‘,20);   
insert into city (CityName,ProvinceID) values(‘东莞市‘,20);   
insert into city (CityName,ProvinceID) values(‘中山市‘,20);   
insert into city (CityName,ProvinceID) values(‘潮州市‘,20);   
insert into city (CityName,ProvinceID) values(‘揭阳市‘,20);   
insert into city (CityName,ProvinceID) values(‘云浮市‘,20);

--21甘肃省 12个地级市、2个自治州   
insert into city (CityName,ProvinceID) values(‘兰州市‘,21);   
insert into city (CityName,ProvinceID) values(‘金昌市‘,21);   
insert into city (CityName,ProvinceID) values(‘白银市‘,21);   
insert into city (CityName,ProvinceID) values(‘天水市‘,21);   
insert into city (CityName,ProvinceID) values(‘嘉峪关市‘,21);   
insert into city (CityName,ProvinceID) values(‘武威市‘,21);   
insert into city (CityName,ProvinceID) values(‘张掖市‘,21);   
insert into city (CityName,ProvinceID) values(‘平凉市‘,21);   
insert into city (CityName,ProvinceID) values(‘酒泉市‘,21);   
insert into city (CityName,ProvinceID) values(‘庆阳市‘,21);   
insert into city (CityName,ProvinceID) values(‘定西市‘,21);   
insert into city (CityName,ProvinceID) values(‘陇南市‘,21);   
insert into city (CityName,ProvinceID) values(‘临夏回族自治州‘,21);   
insert into city (CityName,ProvinceID) values(‘甘南藏族自治州‘,21);

--22四川省18个地级市、3个自治州   
insert into city (CityName,ProvinceID) values(‘成都市‘,22);   
insert into city (CityName,ProvinceID) values(‘自贡市‘,22);   
insert into city (CityName,ProvinceID) values(‘攀枝花市‘,22);   
insert into city (CityName,ProvinceID) values(‘泸州市‘,22);   
insert into city (CityName,ProvinceID) values(‘德阳市‘,22);   
insert into city (CityName,ProvinceID) values(‘绵阳市‘,22);   
insert into city (CityName,ProvinceID) values(‘广元市‘,22);   
insert into city (CityName,ProvinceID) values(‘遂宁市‘,22);   
insert into city (CityName,ProvinceID) values(‘内江市‘,22);   
insert into city (CityName,ProvinceID) values(‘乐山市‘,22);   
insert into city (CityName,ProvinceID) values(‘南充市‘,22);   
insert into city (CityName,ProvinceID) values(‘眉山市‘,22);   
insert into city (CityName,ProvinceID) values(‘宜宾市‘,22);   
insert into city (CityName,ProvinceID) values(‘广安市‘,22);   
insert into city (CityName,ProvinceID) values(‘达州市‘,22);   
insert into city (CityName,ProvinceID) values(‘雅安市‘,22);   
insert into city (CityName,ProvinceID) values(‘巴中市‘,22);   
insert into city (CityName,ProvinceID) values(‘资阳市‘,22);   
insert into city (CityName,ProvinceID) values(‘阿坝藏族羌族自治州‘,22);   
insert into city (CityName,ProvinceID) values(‘甘孜藏族自治州‘,22);   
insert into city (CityName,ProvinceID) values(‘凉山彝族自治州‘,22);

--23贵州省(2006年辖:4个地级市、2个地区、3个自治州;10个市辖区、9个县级市、56个县、11个自治县、2个特区。);   
insert into city (CityName,ProvinceID) values(‘贵阳市‘,23);   
insert into city (CityName,ProvinceID) values(‘六盘水市‘,23);   
insert into city (CityName,ProvinceID) values(‘遵义市‘,23);   
insert into city (CityName,ProvinceID) values(‘安顺市‘,23);   
insert into city (CityName,ProvinceID) values(‘铜仁地区‘,23);   
insert into city (CityName,ProvinceID) values(‘毕节地区‘,23);   
insert into city (CityName,ProvinceID) values(‘黔西南布依族苗族自治州‘,23);   
insert into city (CityName,ProvinceID) values(‘黔东南苗族侗族自治州‘,23);   
insert into city (CityName,ProvinceID) values(‘黔南布依族苗族自治州‘,23);

--24海南省全省有2个地级市,6个县级市,4个县,6个民族自治县,4个市辖区,1个办事处(西南中沙群岛办事处 ,县级)。);   
insert into city (CityName,ProvinceID) values(‘海口市‘,24);   
insert into city (CityName,ProvinceID) values(‘三亚市‘,24);   
insert into city (CityName,ProvinceID) values(‘五指山市‘,24);   
insert into city (CityName,ProvinceID) values(‘琼海市‘,24);   
insert into city (CityName,ProvinceID) values(‘儋州市‘,24);   
insert into city (CityName,ProvinceID) values(‘文昌市‘,24);   
insert into city (CityName,ProvinceID) values(‘万宁市‘,24);   
insert into city (CityName,ProvinceID) values(‘东方市‘,24);   
insert into city (CityName,ProvinceID) values(‘澄迈县‘,24);   
insert into city (CityName,ProvinceID) values(‘定安县‘,24);   
insert into city (CityName,ProvinceID) values(‘屯昌县‘,24);   
insert into city (CityName,ProvinceID) values(‘临高县‘,24);   
insert into city (CityName,ProvinceID) values(‘白沙黎族自治县‘,24);   
insert into city (CityName,ProvinceID) values(‘昌江黎族自治县‘,24);   
insert into city (CityName,ProvinceID) values(‘乐东黎族自治县‘,24);   
insert into city (CityName,ProvinceID) values(‘陵水黎族自治县‘,24);   
insert into city (CityName,ProvinceID) values(‘保亭黎族苗族自治县‘,24);   
insert into city (CityName,ProvinceID) values(‘琼中黎族苗族自治县‘,24);

--25云南省(2006年辖:8个地级市、8个自治州;12个市辖区、9个县级市、79个县、29个自治县。);   
insert into city (CityName,ProvinceID) values(‘昆明市‘,25);   
insert into city (CityName,ProvinceID) values(‘曲靖市‘,25);   
insert into city (CityName,ProvinceID) values(‘玉溪市‘,25);   
insert into city (CityName,ProvinceID) values(‘保山市‘,25);   
insert into city (CityName,ProvinceID) values(‘昭通市‘,25);   
insert into city (CityName,ProvinceID) values(‘丽江市‘,25);   
insert into city (CityName,ProvinceID) values(‘思茅市‘,25);   
insert into city (CityName,ProvinceID) values(‘临沧市‘,25);   
insert into city (CityName,ProvinceID) values(‘文山壮族苗族自治州‘,25);   
insert into city (CityName,ProvinceID) values(‘红河哈尼族彝族自治州‘,25);   
insert into city (CityName,ProvinceID) values(‘西双版纳傣族自治州‘,25);   
insert into city (CityName,ProvinceID) values(‘楚雄彝族自治州‘,25);   
insert into city (CityName,ProvinceID) values(‘大理白族自治州‘,25);   
insert into city (CityName,ProvinceID) values(‘德宏傣族景颇族自治州‘,25);   
insert into city (CityName,ProvinceID) values(‘怒江傈傈族自治州‘,25);   
insert into city (CityName,ProvinceID) values(‘迪庆藏族自治州‘,25);

--26青海省(2006年辖:1个地级市、1个地区、6个自治州;4个市辖区、2个县级市、30个县、7个自治县。);   
insert into city (CityName,ProvinceID) values(‘西宁市‘,26);   
insert into city (CityName,ProvinceID) values(‘海东地区‘,26);   
insert into city (CityName,ProvinceID) values(‘海北藏族自治州‘,26);   
insert into city (CityName,ProvinceID) values(‘黄南藏族自治州‘,26);   
insert into city (CityName,ProvinceID) values(‘海南藏族自治州‘,26);   
insert into city (CityName,ProvinceID) values(‘果洛藏族自治州‘,26);   
insert into city (CityName,ProvinceID) values(‘玉树藏族自治州‘,26);   
insert into city (CityName,ProvinceID) values(‘海西蒙古族藏族自治州‘,26);

--27陕西省(2006年辖:10个地级市;24个市辖区、3个县级市、80个县。);   
insert into city (CityName,ProvinceID) values(‘西安市‘,27);   
insert into city (CityName,ProvinceID) values(‘铜川市‘,27);   
insert into city (CityName,ProvinceID) values(‘宝鸡市‘,27);   
insert into city (CityName,ProvinceID) values(‘咸阳市‘,27);   
insert into city (CityName,ProvinceID) values(‘渭南市‘,27);   
insert into city (CityName,ProvinceID) values(‘延安市‘,27);   
insert into city (CityName,ProvinceID) values(‘汉中市‘,27);   
insert into city (CityName,ProvinceID) values(‘榆林市‘,27);   
insert into city (CityName,ProvinceID) values(‘安康市‘,27);   
insert into city (CityName,ProvinceID) values(‘商洛市‘,27);

--28广西壮族自治区(2005年辖:14个地级市;34个市辖区、7个县级市、56个县、12个自治县。);   
insert into city (CityName,ProvinceID) values(‘南宁市‘,28);   
insert into city (CityName,ProvinceID) values(‘柳州市‘,28);   
insert into city (CityName,ProvinceID) values(‘桂林市‘,28);   
insert into city (CityName,ProvinceID) values(‘梧州市‘,28);   
insert into city (CityName,ProvinceID) values(‘北海市‘,28);   
insert into city (CityName,ProvinceID) values(‘防城港市‘,28);   
insert into city (CityName,ProvinceID) values(‘钦州市‘,28);   
insert into city (CityName,ProvinceID) values(‘贵港市‘,28);   
insert into city (CityName,ProvinceID) values(‘玉林市‘,28);   
insert into city (CityName,ProvinceID) values(‘百色市‘,28);   
insert into city (CityName,ProvinceID) values(‘贺州市‘,28);   
insert into city (CityName,ProvinceID) values(‘河池市‘,28);   
insert into city (CityName,ProvinceID) values(‘来宾市‘,28);   
insert into city (CityName,ProvinceID) values(‘崇左市‘,28);

--30宁夏回族自治区   
insert into city (CityName,ProvinceID) values(‘银川市‘,30);   
insert into city (CityName,ProvinceID) values(‘石嘴山市‘,30);   
insert into city (CityName,ProvinceID) values(‘吴忠市‘,30);   
insert into city (CityName,ProvinceID) values(‘固原市‘,30);   
insert into city (CityName,ProvinceID) values(‘中卫市‘,30);

--31新疆维吾尔自治区(2005年辖:2个地级市、7个地区、5个自治州;11个市辖区、20个县级市、62个县、6个自治县);   
insert into city (CityName,ProvinceID) values(‘乌鲁木齐市‘,31);   
insert into city (CityName,ProvinceID) values(‘克拉玛依市‘,31);   
insert into city (CityName,ProvinceID) values(‘石河子市 ‘,31);   
insert into city (CityName,ProvinceID) values(‘阿拉尔市‘,31);   
insert into city (CityName,ProvinceID) values(‘图木舒克市‘,31);   
insert into city (CityName,ProvinceID) values(‘五家渠市‘,31);   
insert into city (CityName,ProvinceID) values(‘吐鲁番市‘,31);   
insert into city (CityName,ProvinceID) values(‘阿克苏市‘,31);   
insert into city (CityName,ProvinceID) values(‘喀什市‘,31);   
insert into city (CityName,ProvinceID) values(‘哈密市‘,31);   
insert into city (CityName,ProvinceID) values(‘和田市‘,31);   
insert into city (CityName,ProvinceID) values(‘阿图什市‘,31);   
insert into city (CityName,ProvinceID) values(‘库尔勒市‘,31);   
insert into city (CityName,ProvinceID) values(‘昌吉市 ‘,31);   
insert into city (CityName,ProvinceID) values(‘阜康市‘,31);   
insert into city (CityName,ProvinceID) values(‘米泉市‘,31);   
insert into city (CityName,ProvinceID) values(‘博乐市‘,31);   
insert into city (CityName,ProvinceID) values(‘伊宁市‘,31);   
insert into city (CityName,ProvinceID) values(‘奎屯市‘,31);   
insert into city (CityName,ProvinceID) values(‘塔城市‘,31);   
insert into city (CityName,ProvinceID) values(‘乌苏市‘,31);   
insert into city (CityName,ProvinceID) values(‘阿勒泰市‘,31);

--32内蒙古自治区(2006年,辖:9个地级市、3个盟;21个市辖区、11个县级市、17个县、49个旗、3个自治旗。);   
insert into city (CityName,ProvinceID) values(‘呼和浩特市‘,32);   
insert into city (CityName,ProvinceID) values(‘包头市‘,32);   
insert into city (CityName,ProvinceID) values(‘乌海市‘,32);   
insert into city (CityName,ProvinceID) values(‘赤峰市‘,32);   
insert into city (CityName,ProvinceID) values(‘通辽市‘,32);   
insert into city (CityName,ProvinceID) values(‘鄂尔多斯市‘,32);   
insert into city (CityName,ProvinceID) values(‘呼伦贝尔市‘,32);   
insert into city (CityName,ProvinceID) values(‘巴彦淖尔市‘,32);   
insert into city (CityName,ProvinceID) values(‘乌兰察布市‘,32);   
insert into city (CityName,ProvinceID) values(‘锡林郭勒盟‘,32);   
insert into city (CityName,ProvinceID) values(‘兴安盟‘,32);   
insert into city (CityName,ProvinceID) values(‘阿拉善盟‘,32);

--33澳门特别行政区   
insert into city (CityName,ProvinceID) values(‘澳门特别行政区‘,33);

--34香港特别行政区   
insert into city (CityName,ProvinceID) values(‘香港特别行政区‘,34);

时间: 2024-10-13 03:38:23

最新省市区数据,sql插入语句的相关文章

[lua, mysql] 将多条记录数据组合成一条sql插入语句(for mysql)

-- 演示将多条记录数据组合成一条sql插入语句(for mysql) function getTpl0(tname) -- 获取表各个字段 local t = { tpl_pack = {"packId","itemId","`group`","num","rate","rateType"}, } for k, v in pairs(t) do if tname == k then r

sql插入语句笔记

使用INSERT插入数据行 [一次插入一行数据] 全写: INSERT  INTO  renshi  (name, sex, age ,tel) VALUES  ('胡大姐','女','35','136334***12') 简写: INSERT    renshi VALUES ('胡大姐','女','35','136334***12') 为缺省值列插入数据 INSERT   INTO  renshi VALUES ('胡大姐'','女','35',DEFAULT) 显示结果:  胡大姐  女 

SQL 插入语句汇总

INSERT VALUES 插入一行或多行到目标表中 -- single row INSERT INTO Sales.MyOrders(custid, empid, orderdate, shipcountry, freight) VALUES(2, 19, '20120620', N'USA', 30.00); -- relying on defaults INSERT INTO Sales.MyOrders(custid, empid, shipcountry, freight) VALUE

全国省市区数据SQL - 省市区

1 DROP TABLE IF EXISTS `provinces`; 2 CREATE TABLE `provinces` ( 3 `id` int(11) NOT NULL auto_increment, 4 `provinceid` varchar(20) NOT NULL, 5 `province` varchar(50) NOT NULL, 6 PRIMARY KEY (`id`) 7 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='省份信息

关于SQL插入数据的字段名问题

SQL插入语句的字段名如果遇到关键字,才需要添加`. 以下是不写 `符号的字段名: insert into page (title,author,content,intime,uptime) values ('wds1232323232fdf','adsfsd','ewrwer','1492070736','0'); 以下是写 `符号的字段名: insert into page (`title`,`author`,`content`,`intime`,`uptime`) values ('wds

sql插入多条数据的sql语句

sql插入多条数据的sql语句 有三种方法:1.InSert Into <表名>(列名)Select <列名>From <源表名>如:INSERT INTO TongXunLu (姓名,电话,电子邮件) SELECT SName,SAddress,SEmailFROM Students 这种方法需要先建好新表.2.Select (列名)Into <表名>From <源表名>如:SELECT Students.SName,Students.SAdd

将Sql查询语句获取的数据插入到List列表里面

Sql查询语句获取的数据是分格式的,我们还用SqlDataReader来做,然后用IDataReader来接收读取,以下是代码: //我想查询一个用户表的信息,该用户有姓名,密码,信息三列 //1.定义一个用户类型的List数组,userInfo类的代码在下方 List<userInfo> userInfo = new List<userInfo>(); //2.我们要读取查询语句的数据,并且保存了.这里我们将使用IDataReader语句 //数据库类的实例,类的代码在下方 DB

SQL Server根据表或视图批量生成插入语句并BCP导出成文本

--声明变量 DECLARE @TableName VARCHAR(100),@RunStr VARCHAR(MAX),@RunRC VARCHAR(MAX),@FinalRun VARCHAR(MAX) --在master库创建数据载体,也可以建立在其他数据库,但一定要是实体表,因为BCP导出不支持临时表 IF OBJECT_ID('master.dbo.tempinsertstr') IS NOT NULL DROP TABLE master.dbo.tempinsertstr CREATE

sql插入数据

1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System.Data.SqlClient; 7 8 namespace sql插入数据 9 { 10 class Program 11 { 12 static void Main(string[] args) 13 { 14 //