select * from cs where go=''

解决方案 »

  1.   

    select * from cs where go is Null
      

  2.   

    select * from cs where go IS Null
      

  3.   

    select * from cs where go is Null
      

  4.   

    select * from cs where length(go)=0
      

  5.   

    楼上的不对的,还是 is null 吧!
      

  6.   

    mysql> SELECT * FROM my_table WHERE phone IS NULL;
    mysql> SELECT * FROM my_table WHERE phone = "";
      

  7.   


    SELECT * FROM cs WHERE go IS NULL OR go='';
      

  8.   

    select * from cs where go is null
      

  9.   

    select * from cs where isnull(go) 已经解决