Quantcast
Channel: 蜗牛都知道
Viewing all articles
Browse latest Browse all 105

mysql like 下划线

$
0
0

mysql中下划线表示匹配任意字符,转义方式如下:

SELECT *  FROM table_name WHERE tab2 NOT LIKE '%\_%'

Viewing all articles
Browse latest Browse all 105

Trending Articles