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

数据库查询条件

WBOY
Release: 2016-06-20 12:30:31
Original
944 people have browsed it

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


回复讨论(解决方案)

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

谢谢,学会了!。。。。

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