该SQL文件包含了全球主要城市的地理坐标数据,包括每个城市的名称及其对应的纬度和经度信息,便于进行地理位置相关的数据分析与应用开发。
```sql
CREATE TABLE IF NOT EXISTS `mk_international_location` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`pid` int(10) unsigned DEFAULT 0 COMMENT 父id/上级id,
`path` varchar(255) DEFAULT COMMENT 路径,
`level` int(10) unsigned DEFAULT 0 COMMENT 层级,
`name` varchar(255) DEFAULT COMMENT 中文名称,
`name_en` varchar(255) DEFAULT COMMENT 英文名称,
`name_pinyin` varchar(255) DEFAULT COMMENT 中文拼音,
`code` varchar(50) DEFAULT COMMENT 地区代码,
`zip_code` varchar(50) DEFAULT COMMENT 邮政编码,
`status` tinyint(3) unsigned NOT NULL DEFAULT 1 COMMENT 状态值 0无效 1有效,
`manager_id` int(10) unsigned DEFAULT 0 COMMENT 操作管理员id,
`manager_username` varchar(30) DEFAULT COMMENT 操作员账户名,
`deleted_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`lat` varchar(255) DEFAULT NULL COMMENT 百度.纬度,
`lng` varchar(255) DEFAULT NULL COMMENT 百度.经度,
PRIMARY KEY (`id`),
KEY `international_location_pid_index` (`pid`),
KEY `international_location_manager_id_index` (`manager_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=4170;
INSERT INTO `mk_international_location` (
`id`,
`pid`,
`path`,
`level`,
`name`,
`name_en`,
`name_pinyin`,
`code`,
`zip_code`,
`status`,
`manager_id`,
`manager_username`,
deleted_at, created_at,
updated_at, lat, lng
) VALUES (
1, 0,,1,亚洲,Asia,yazhou,,,1,0,,,NULL,2019-01-25 02:51:17, NULL,NULL),
(2, 0,,2,欧洲,Europe,ouzhou,,,1,0,,,NULL,2019-01-25 02:51:17, NULL,NULL);
```