Home  >  Article  >  Backend Development  >  请教怎么查询包含某字符的所有记录

请教怎么查询包含某字符的所有记录

WBOY
WBOYOriginal
2016-06-13 13:12:56833browse

请问如何查询包含某字符的所有记录
请问如何查询包含某字符的所有记录并显示出来???

------解决方案--------------------
select * from 表明 where 字段名 like '%字符名%'
------解决方案--------------------
http://www.5idev.com/p-php_mysql_like.shtml
------解决方案--------------------

探讨
请问如何查询包含某字符的所有记录并显示出来???
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn