一、sql
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610681', '610600', '0,610000,610600', '子长市', 'zizhangshi', '陕西省延安市子长市', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610700', '610000', '0,610000', '汉中市', 'hanzhongshi', '陕西省汉中市', '2');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610702', '610700', '0,610000,610700', '汉台区', 'hantaiqu', '陕西省汉中市汉台区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610703', '610700', '0,610000,610700', '南郑区', 'nanzhengqu', '陕西省汉中市南郑区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610722', '610700', '0,610000,610700', '城固县', 'chengguxian', '陕西省汉中市城固县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610723', '610700', '0,610000,610700', '洋县', 'yangxian', '陕西省汉中市洋县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610724', '610700', '0,610000,610700', '西乡县', 'xixiangxian', '陕西省汉中市西乡县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610725', '610700', '0,610000,610700', '勉县', 'mianxian', '陕西省汉中市勉县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610726', '610700', '0,610000,610700', '宁强县', 'ningqiangxian', '陕西省汉中市宁强县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610727', '610700', '0,610000,610700', '略阳县', 'lu:eyangxian', '陕西省汉中市略阳县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610728', '610700', '0,610000,610700', '镇巴县', 'zhenbaxian', '陕西省汉中市镇巴县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610729', '610700', '0,610000,610700', '留坝县', 'liubaxian', '陕西省汉中市留坝县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610730', '610700', '0,610000,610700', '佛坪县', 'fopingxian', '陕西省汉中市佛坪县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610800', '610000', '0,610000', '榆林市', 'yulinshi', '陕西省榆林市', '2');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610802', '610800', '0,610000,610800', '榆阳区', 'yuyangqu', '陕西省榆林市榆阳区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610803', '610800', '0,610000,610800', '横山区', 'hengshanqu', '陕西省榆林市横山区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610822', '610800', '0,610000,610800', '府谷县', 'fuguxian', '陕西省榆林市府谷县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610824', '610800', '0,610000,610800', '靖边县', 'jingbianxian', '陕西省榆林市靖边县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610825', '610800', '0,610000,610800', '定边县', 'dingbianxian', '陕西省榆林市定边县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610826', '610800', '0,610000,610800', '绥德县', 'suidexian', '陕西省榆林市绥德县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610827', '610800', '0,610000,610800', '米脂县', 'mizhixian', '陕西省榆林市米脂县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610828', '610800', '0,610000,610800', '佳县', 'jiaxian', '陕西省榆林市佳县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610829', '610800', '0,610000,610800', '吴堡县', 'wubaoxian', '陕西省榆林市吴堡县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610830', '610800', '0,610000,610800', '清涧县', 'qingjianxian', '陕西省榆林市清涧县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610831', '610800', '0,610000,610800', '子洲县', 'zizhouxian', '陕西省榆林市子洲县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610881', '610800', '0,610000,610800', '神木市', 'shenmushi', '陕西省榆林市神木市', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610900', '610000', '0,610000', '安康市', 'ankangshi', '陕西省安康市', '2');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610902', '610900', '0,610000,610900', '汉滨区', 'hanbinqu', '陕西省安康市汉滨区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610921', '610900', '0,610000,610900', '汉阴县', 'hanyinxian', '陕西省安康市汉阴县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610922', '610900', '0,610000,610900', '石泉县', 'shiquanxian', '陕西省安康市石泉县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610923', '610900', '0,610000,610900', '宁陕县', 'ningshanxian', '陕西省安康市宁陕县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610924', '610900', '0,610000,610900', '紫阳县', 'ziyangxian', '陕西省安康市紫阳县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610925', '610900', '0,610000,610900', '岚皋县', 'langaoxian', '陕西省安康市岚皋县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610926', '610900', '0,610000,610900', '平利县', 'pinglixian', '陕西省安康市平利县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610927', '610900', '0,610000,610900', '镇坪县', 'zhenpingxian', '陕西省安康市镇坪县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610929', '610900', '0,610000,610900', '白河县', 'baihexian', '陕西省安康市白河县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('610981', '610900', '0,610000,610900', '旬阳市', 'xunyangshi', '陕西省安康市旬阳市', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('611000', '610000', '0,610000', '商洛市', 'shangluoshi', '陕西省商洛市', '2');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('611002', '611000', '0,610000,611000', '商州区', 'shangzhouqu', '陕西省商洛市商州区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('611021', '611000', '0,610000,611000', '洛南县', 'luonanxian', '陕西省商洛市洛南县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('611022', '611000', '0,610000,611000', '丹凤县', 'danfengxian', '陕西省商洛市丹凤县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('611023', '611000', '0,610000,611000', '商南县', 'shangnanxian', '陕西省商洛市商南县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('611024', '611000', '0,610000,611000', '山阳县', 'shanyangxian', '陕西省商洛市山阳县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('611025', '611000', '0,610000,611000', '镇安县', 'zhenanxian', '陕西省商洛市镇安县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('611026', '611000', '0,610000,611000', '柞水县', 'zuoshuixian', '陕西省商洛市柞水县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620000', '0', '0', '甘肃省', 'gansusheng', '甘肃省', '1');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620100', '620000', '0,620000', '兰州市', 'lanzhoushi', '甘肃省兰州市', '2');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620102', '620100', '0,620000,620100', '城关区', 'chengguanqu', '甘肃省兰州市城关区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620103', '620100', '0,620000,620100', '七里河区', 'qilihequ', '甘肃省兰州市七里河区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620104', '620100', '0,620000,620100', '西固区', 'xiguqu', '甘肃省兰州市西固区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620105', '620100', '0,620000,620100', '安宁区', 'anningqu', '甘肃省兰州市安宁区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620111', '620100', '0,620000,620100', '红古区', 'hongguqu', '甘肃省兰州市红古区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620121', '620100', '0,620000,620100', '永登县', 'yongdengxian', '甘肃省兰州市永登县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620122', '620100', '0,620000,620100', '皋兰县', 'gaolanxian', '甘肃省兰州市皋兰县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620123', '620100', '0,620000,620100', '榆中县', 'yuzhongxian', '甘肃省兰州市榆中县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620171', '620100', '0,620000,620100', '兰州新区', 'lanzhouxinqu', '甘肃省兰州市兰州新区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620200', '620000', '0,620000', '嘉峪关市', 'jiayuguanshi', '甘肃省嘉峪关市', '2');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620300', '620000', '0,620000', '金昌市', 'jinchangshi', '甘肃省金昌市', '2');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620302', '620300', '0,620000,620300', '金川区', 'jinchuanqu', '甘肃省金昌市金川区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620321', '620300', '0,620000,620300', '永昌县', 'yongchangxian', '甘肃省金昌市永昌县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620400', '620000', '0,620000', '白银市', 'baiyinshi', '甘肃省白银市', '2');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620402', '620400', '0,620000,620400', '白银区', 'baiyinqu', '甘肃省白银市白银区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620403', '620400', '0,620000,620400', '平川区', 'pingchuanqu', '甘肃省白银市平川区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620421', '620400', '0,620000,620400', '靖远县', 'jingyuanxian', '甘肃省白银市靖远县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620422', '620400', '0,620000,620400', '会宁县', 'huiningxian', '甘肃省白银市会宁县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620423', '620400', '0,620000,620400', '景泰县', 'jingtaixian', '甘肃省白银市景泰县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620500', '620000', '0,620000', '天水市', 'tianshuishi', '甘肃省天水市', '2');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620502', '620500', '0,620000,620500', '秦州区', 'qinzhouqu', '甘肃省天水市秦州区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620503', '620500', '0,620000,620500', '麦积区', 'maijiqu', '甘肃省天水市麦积区', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620521', '620500', '0,620000,620500', '清水县', 'qingshuixian', '甘肃省天水市清水县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620522', '620500', '0,620000,620500', '秦安县', 'qinanxian', '甘肃省天水市秦安县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620523', '620500', '0,620000,620500', '甘谷县', 'ganguxian', '甘肃省天水市甘谷县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pinyin`, `full_name`, `level`) VALUES ('620524', '620500', '0,620000,620500', '武山县', 'wushanxian', '甘肃省天水市武山县', '3');
INSERT INTO `region`(`id`, `pid`, `pids`, `name`, `pi
中国行政区划数据库插入示例

展示了通过SQL语句向数据库插入中国各省市县区等行政区划数据的过程,包括ID、父级ID、路径、名称、拼音、全称及级别等字段。
最低0.47元/天 解锁文章
773

被折叠的 条评论
为什么被折叠?



