Rumah > pangkalan data > tutorial mysql > sql全国 省市 联动级联

sql全国 省市 联动级联

大家讲道理
Lepaskan: 2016-11-10 11:39:41
asal
1323 orang telah melayarinya

/*添加省份表数据*/
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(110000,'北京市',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(120000,'天津市',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(130000,'河北省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(140000,'山西省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(150000,'内蒙古自治区',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(210000,'辽宁省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(220000,'吉林省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(230000,'黑龙江',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(310000,'上海市',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(320000,'江苏省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(330000,'浙江省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(340000,'安徽省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(350000,'福建省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(360000,'江西省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(370000,'山东省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(410000,'河南省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(420000,'湖北省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(430000,'湖南省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(440000,'广东省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(450000,'广西壮族自治区',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(460000,'海南省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(500000,'重庆市',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(510000,'四川省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(520000,'贵州省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(530000,'云南省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(540000,'西藏自治区',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(610000,'陕西省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(620000,'甘肃省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(630000,'青海省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(640000,'宁夏回族自治区',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(650000,'新疆维吾尔自治区',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(710000,'台湾省',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(810000,'香港特别行政区',100000)
INSERT INTO Province(Pcode,Pname,NationCode) VALUES(820000,'澳门特别行政区',100000)
Salin selepas log masuk

sumber:php.cn
Kenyataan Laman Web ini
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Artikel terbaru oleh pengarang
Tutorial Popular
Lagi>
Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan