Supposed col1 has been indexed,
will return col1, col2. Now I want to relates the results with each keyword, i.e, to clarify which result corresponds to which keyword.
How to do this?
Can we get the following results?
For performance reason, WHILE or FOR loop is not considered.
Code:
SELECT col1, col2 FROM table1 WHERE col1 CONTAINS ( key1 OR key2 OR key3)
How to do this?
Can we get the following results?
Code:
key1, col1, col2; key1, col1, col2; key2, col1, col2
Comment