02-02-周一_08-43-22
This commit is contained in:
@@ -1242,7 +1242,7 @@ select name,population from city where countrycode='CHN' and district='heilongji
|
|||||||
# 多条件查询
|
# 多条件查询
|
||||||
select name,population,countrycode from city where countrycode like '%H%' limit 10;
|
select name,population,countrycode from city where countrycode like '%H%' limit 10;
|
||||||
# 模糊查询
|
# 模糊查询
|
||||||
select id,name,population,countrycode from city order by countrycode limit 10;
|
select id,name,population,countrycode from city order by countrycode limit 10;
|
||||||
# 排序查询(顺序)
|
# 排序查询(顺序)
|
||||||
select id,name,population,countrycode from city order by countrycode desc limit 10;
|
select id,name,population,countrycode from city order by countrycode desc limit 10;
|
||||||
# 排序查询(倒序)
|
# 排序查询(倒序)
|
||||||
|
|||||||
Reference in New Issue
Block a user