Matching a value to multiple columns (in one statement) from a table using MySQL

后端 未结 9 1813
无人共我
无人共我 2021-02-08 21:29

I\'m working with a table in MySQL that contains the following columns:

id, january, february, march, april, etc

The data in the table looks li

9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-08 22:02

    You can do it using match...against.

    In that case your table must be MyISAM table and you must create FULLTEXT index including required columns.

提交回复
热议问题