mysql - Fetch Record according to occurence in like query -
i using simple my-sql query... column records "strong, true, trap, strip" on.
"select * table name '%tr%'".
like this. want fetch records according occuring position. trap, true, strip, strong. possible manipulate query according occurence in like.
do mean order results based on location of search string? like:
select * table name '%tr%' order locate('tr', name) asc
Comments
Post a Comment