Reputation: 1301
i want to retrieve those state that end with 'than' using match agianst in mysql query. i used the following query
SELECT * FROM yp WHERE MATCH (state) AGAINST ('*than' IN BOOLEAN MODE)
but it return and empty set of result.can anyone tell me what is the exact query?
Upvotes: 0
Views: 504
Reputation: 363
SELECT * FROM yp WHERE state LIKE '%than'
this query will return only those state are end up with 'than'. I think this may helps U..
Upvotes: 2