how to use Fuzzy look up to find the sentence in SQL?

后端 未结 2 1798
滥情空心
滥情空心 2021-01-15 19:12

search term=[\'ISBN number on site\'] the variable(column): sentence, in MySQL table. It consist many different sentence.

the sentence I want to look for is \"The

2条回答
  •  感动是毒
    2021-01-15 19:52

    Try:

    SELECT * FROM testtable where Sentence like '%ISBN number on%site%' ;
    

    The wildcard can go in the middle of a string too.

提交回复
热议问题