Last active
December 9, 2015 19:18
-
-
Save lerosua/4315488 to your computer and use it in GitHub Desktop.
sqlite插入数据示例
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
查看所有省 | |
select * from Province; | |
根据省ID查看此省的所有城市 | |
select * from City where ProID="610000"; | |
根据城市ID查看此市所有区 | |
select * from Zone where CityID="610100"; | |
给Zone表插入一个新区,顺序一直按照着表的数据列来。 | |
insert into Zone values("410186","高新区","410100","450001"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
delete from Zone where ZoneID="110100";
删除语句