I am trying to order my mysql queries based on the first letter but every method I have used is restricting my search.
Example MySQL table Value computer services abc computer services dynamic computer services
If I search for computer services
I want the results to returned as:
**Name**
computer services
abc computer services
dynamic computer services
I am using mysql fullsearch text but if i use name LIKE 'c%'
I don't the other two results e.g.
SELECT name FROM table WHERE match('name') against('computer services*' IN BOOLEAN MODE) AND name LIKE 'c%';
This would only return
- computer services
But I want it to return:
- computer services
- abc computer services
- dynamic computer services
I am new to mysql full search text.