码迷,mamicode.com
首页 > 数据库 > 详细

Mysql---7

时间:2020-02-13 12:42:51      阅读:67      评论:0      收藏:0      [点我收藏+]

标签:name   style   HERE   sql   like   bsp   col   mys   user   

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.....)

 

    

Mysql---7

标签:name   style   HERE   sql   like   bsp   col   mys   user   

原文地址:https://www.cnblogs.com/chencn/p/12302948.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!