Skip to content
Advertisement

Mysql how to orderby matching query string with Full-Text Searches MATCH AGAINST

Ex I have table:

I search by Boolean Full-Text Searches like

how to order by if abc is first of text result order like this:

if ‘abc’ postion is not a head will be pushed down

Advertisement

Answer

You can use locate():

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement