欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

数据库 Like 用法

程序员文章站 2022-03-18 22:24:25
查找列名等于某一字符串: select * from table where column like '%string%' 查找列名不等于某一字符串 select * from table where column not like '%string%' ......

查找列名等于某一字符串:

select * from table where column like '%string%'

 

查找列名不等于某一字符串

select * from table where column not like '%string%'