Home >Backend Development >PHP Tutorial >数据库查询条件

数据库查询条件

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-20 12:30:31970browse

大神们,如果我数据库查询的筛选条件是A=a 或者D=d(二选一)并且B=b(与前面二选一同时满足),我该怎么写呢?谢谢!


回复讨论(解决方案)

where (A=a or D=d) and B=b 

谢谢,学会了!。。。。

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