I have DB table PERSON something like below
|ID |FIRST_NAME |LAST_NAME|
|1 |Peter-Parkar |Williams |
|2 |Peter Panatano|Williams |
|3 |Peter-Pant |Nati |
I want to search and get the first name result using this query
SELECT ID, CONCAT(FIRST_NAME, ' ', LAST_NAME) as PERSON_NAME
FROM PERSON
WHERE MATCH(text) AGAINST ('peter-p*' IN BOOLEAN MODE);
I would like to get the results "Peter-Parkar Williams" and "Peter-Pant Nati", but it is not giving as I expected. How to get that result?
Note: I don't want to use "LIKE" operator in this case, strictly want answers with MATCH AGAINST.