能不能查寻数据库 条件是一个字段包含某一个数 并且不包含另外一个数

WBOY
Release: 2016-06-13 10:52:07
Original
999 people have browsed it

能不能查找数据库 条件是一个字段包含某一个数 并且不包含另外一个数
能不能查找数据库 条件是一个字段包含某一个数 并且不包含另外一个数\
,条件怎么写

------解决方案--------------------
例子
select * from tt where name like '%b%' and name not like '%s%';
------解决方案--------------------

探讨

例子
select * from tt where name like '%b%' and name not like '%s%';
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template