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  阅读(135)  评论(0)    收藏  举报