1.几条数据中找到你好,并且显示

第一条数据为:你好吗?

第二条数据:你好,阿姨!

第三条数据:hello,你好!

表名为test,数据字段为str

   select * from test concat(',',`str`,',') like '%,你好,%';

   得到的数据则为第二条数据和第三条数据!


注:concat连接字符串。