Home > Database > Mysql Tutorial > mysql中查询字段为null或者不为null_MySQL

mysql中查询字段为null或者不为null_MySQL

WBOY
Release: 2016-06-01 13:48:07
Original
1636 people have browsed it

bitsCN.com
mysql中查询字段为null或者不为null 在mysql中,查询某字段为空时,切记不可用 = null,而是 is null,不为空则是 is not null   select * from table where column is null; select * from table where column is not null;
  bitsCN.com

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