I have:
----------------------------
| ID | Workout |
|_____________|______________|
| 1 |Chest workout |
| 2 |beach Workout |
| 3 |End workout |
_____________________________
Basically I want to search a string in my workout
column.
Now if you try SELECT * FROM db.table WHERE MATCH (workout) AGAINST('workout');
Or SELECT * FROM db.table WHERE MATCH (workout) AGAINST('Chest');
They Both works fine.
But If you try SELECT * FROM db.table WHERE MATCH (workout) AGAINST('est');
FYI: (est as in Chest) does not works even I have a row named Chest
in my workout
column.
So I would really appreciate if you tell how to select a string within a full text and within word and order them by characters first character like 1. end workout, 2. beach workout, 3. Chest workout in SQL.