Heim >Datenbank >MySQL-Tutorial >sql全国 省市 联动级联
sql版的省市级联动 无 /*添加省份表数据*/INSERT INTO Province(Pcode,Pname,NationCode) VALUES(110000,'北京市',100000)INSERT INTO Province(Pcode,Pname,NationCode) VALUES(120000,'天津市',100000)INSERT INTO Province(Pcode,Pname,NationCode) VALUE
sql版的省市级联动
/*添加省份表数据*/ 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)