sql全国 省市 联动级联
程序员文章站
2022-05-10 13:05:19
...
/*添加省份表数据*/ 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)