标签:城市 strong person from sel city 包含 ons HERE
1.从上面的 "Persons" 表中选取居住在以 "N" 开头的城市里的人:
select * from Persons where city like ‘N%‘;
2.从“Persons”中选取居住在以"g"结尾的城市里的人:
select * from Persons where City like ‘%g‘;
3.从 "Persons" 表中选取居住在包含 "lon" 的城市里的人:
select * from Persons where City like ‘%lon%‘;
标签:城市 strong person from sel city 包含 ons HERE
原文地址:https://www.cnblogs.com/bashaowei/p/9207018.html