Alex_TD

Mysql---7 where 条件语句

1.where 条件  

    1.and &&       or  ||         Not ! where  Nnot  Id='001';

    2.   is NULL            ===>    id  is  null        ----  is null  '  ';

       is not NULL      ===>    id  is not null

      between   and   ===>    id  between  a  and b

      like                     ===>    name  like  '%user'----%  表示 0或任意字符 ;  _ 表示 一个字符(2个字_ _)

      in                        ===>    id  in  (a1,a2,a3.....)

 

    

posted on 2020-02-13 11:45  Alex_TD  阅读(112)  评论(0编辑  收藏  举报