时间:2021-07-01 10:21:17 帮助过:79人阅读
全国省市区县三级级联数据mysql脚本 无 CREATE TABLE `p_c_a` ( `id` varchar(255) DEFAULT NULL, `area_info` varchar(255) DEFAULT NULL, `father_id` varchar(255) DEFAULT NULL, `area_level` varchar(255) DEFAULT NULL) ENGINE=InnoDB DEFAULT CHARSET=
全国省市区县三级级联数据 mysql脚本 <无>CREATE TABLE `p_c_a` ( `id` varchar(255) DEFAULT NULL, `area_info` varchar(255) DEFAULT NULL, `father_id` varchar(255) DEFAULT NULL, `area_level` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of p_c_a -- ---------------------------- INSERT INTO `p_c_a` VALUES ('R00001', '北京', null, '1'); INSERT INTO `p_c_a` VALUES ('R00002', '朝阳区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00003', '海淀区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00004', '西城区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00005', '东城区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00006', '崇文区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00007', '宣武区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00008', '丰台区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00009', '石景山区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00010', '门头沟', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00011', '房山区', 'R00001', '2');
CREATE TABLE `p_c_a` ( `id` varchar(255) DEFAULT NULL, `area_info` varchar(255) DEFAULT NULL, `father_id` varchar(255) DEFAULT NULL, `area_level` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of p_c_a -- ---------------------------- INSERT INTO `p_c_a` VALUES ('R00001', '北京', null, '1'); INSERT INTO `p_c_a` VALUES ('R00002', '朝阳区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00003', '海淀区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00004', '西城区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00005', '东城区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00006', '崇文区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00007', '宣武区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00008', '丰台区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00009', '石景山区', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00010', '门头沟', 'R00001', '2'); INSERT INTO `p_c_a` VALUES ('R00011', '房山区', 'R00001', '2');