MySQL Forums
Forum List  »  Newbie

Re: Help!! Probably a simple SELECT problem
Posted by: Mario Esteves
Date: August 22, 2005 03:30PM

You need to specify * first, then "," and finally, the match.

SELECT *, MATCH('Content') AGAINST ('keyword1 keyword2') as Relevance FROM table WHERE MATCH('Content') AGAINST('+keyword1 +keyword2' IN BOOLEAN MODE) HAVING Relevance > 0.2 ORDER BY Relevance DESC;

Regards, Mario.

Options: ReplyQuote


Subject
Written By
Posted
Re: Help!! Probably a simple SELECT problem
August 22, 2005 03:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.