0

I have created a Full Text Index and can search terms like this:

SELECT * FROM mytable where myfield MATCH 'Food'  

How do I add an AND clause to return records with the word FOOD and DOG ?

I've tried this:

SELECT * FROM mytable where myfield MATCH 'Food' and  myfield MATCH 'Dog'      
4

1 回答 1

1

阅读文档

SELECT * FROM mytable WHERE myfield MATCH 'Food Dog'
于 2013-05-04T06:57:26.393 回答