php - Processing of reverse LIKE of sql statement
阿神
阿神 2017-05-24 11:33:03
0
1
518

It is normal to use LIKE in SQL statements
But is there any reverse LIKE syntax?
That is to say, it is not the field that contains the string, but the string that contains the field content.
Find out the conditions that meet the conditions.
Please help me!

阿神
阿神

闭关修行中......

reply all (1)
刘奇
SELECT * FROM 表 WHERE '字符串' LIKE CONCAT('%',字段,'%')
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!