select count(0) from tb where col is null;

解决方案 »

  1.   

    select count(*) from table_name where col_name is null
      

  2.   

    where  列名 is null
      

  3.   

    where col_name is nullor where nvl(col_name,'a') = 'a'
      

  4.   

    where col_name is null
      

  5.   

    最好加个trim
    where trim(col_name) is null
      

  6.   

    直接col_name is null就可以了,如果是非空的话,那就是is not null
      

  7.   

    is null ,is not null
      

  8.   

    select * from table where col is null
      

  9.   

    is null这里竞争好激烈,能分上一分不
      

  10.   

    select count(字段名)
    from 表名
    where col.name is null