like

Posted hapyygril

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了like相关的知识,希望对你有一定的参考价值。

技术图片

select sname from teacher where sname like "q%"
select sname from teacher where sname like "%an%"
select sname from teacher where sname like "%ang"

以上是关于like的主要内容,如果未能解决你的问题,请参考以下文章

数据库常用查询语句写法(优化)

SQL Server中LIKE和PATINDEX的用法