Count occurrences of a word in a row in MySQL

后端 未结 9 984
野趣味
野趣味 2020-12-19 08:41

I\'m making a search function for my website, which finds relevant results from a database. I\'m looking for a way to count occurrences of a word, but I need to ensure that

9条回答
  •  一整个雨季
    2020-12-19 09:35

    I have used the technique as described in the link below. The method uses length and replace functions of MySQL.

    Keyword Relevance

提交回复
热议问题