sql is null

select *
  from a
 where b_consume = 0
  and (state <> -1 or state is null)
   and SOURCE = 221

 

posted @ 2019-06-25 13:56  zqiushi  阅读(133)  评论(0编辑  收藏  举报