mysql查找字段空、不爲空的方法總結

一、不爲空 Select   *   From   table Where id<>'' Select   *   From   table Where id!='' 二、爲空 Select   *   From   table Where id='' Select   *   From   table Where   ISNULL(id) 具體狀況具體分析,若是字段是char和varchar型用
相關文章
相關標籤/搜索