How to create FULLTEXT index on multiple columns?

后端 未结 3 1165
温柔的废话
温柔的废话 2021-01-31 16:44

I am running the following query on tbl_query

select * from tbl_query q where match(q.query_desc,q.query_desc_details) against (\'test1\' WITH QUERY         


        
3条回答
  •  生来不讨喜
    2021-01-31 17:31

    This creates the index. Is this what you want?

    ALTER TABLE table ADD FULLTEXT index_name(column1, column2);
    

提交回复
热议问题