select * from table1 where patindex('%关键字%' , aa) = 0 

select * from table1 where charindex('关键字' , aa) = 0 

select * from table1 where aa like '%关键字%'

mysql字符串不包含 sql 不包含字符串_mysql字符串不包含