📅  最后修改于: 2022-03-11 15:05:34.992000             🧑  作者: Mango
CREATE FULLTEXT INDEX IF NOT EXISTS idx_col1_col2 ON
tableName(col1, col2);
SELECT
*
FROM
tableName
WHERE
MATCH(col1, col2) AGAINST("search words");