Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
修改日志:
一: 把省份, 地级市, 县级市, 分别放入了三个表里面, 优化了数据库结构
二: 数据库中的数据添加了香港, 澳门, 台湾等地区
三: 增加了 README.md 里面的介绍
数据库 city.db 结构:
里面一共有三张表: province, city, country 分别代表了 省,地级市,县级市
表 province 代表了省份
表 city 代表地级市
表 country 代表县级市
索引信息:
建立了三个索引,分别是:
加快了联表查询时的速度