In my database there are one table and 6 columns in this table like that
----------------------------------
|id|word|translation|forms|translation_form|tags|
|4 |a |b |d,s,h|t,y,p |b,o |
|2 |p |a |d,f,k|t,y,o |v,i |
|0 |n |br |d,f,a|t,y,n |u,i |
|1 |o |br |d,f,b|t,y,a |u,g |
|3 |t |br |d,f,b|t,y,p |a,g |
----------------------------------
search word is "a"
I want to search first in (word) and then in the others columns
and sort them like so first id 4 than 2 then 0 then 1 and then 3
I used
SELECT * FROM dictionary WHERE
MATCH(`word`) against('a*' in boolean MODE) OR
MATCH(`translation`) against('a*' in boolean MODE) OR
MATCH(`forms`) against('a*' in boolean MODE) OR
MATCH(`translation_forms`) against('a*' in boolean MODE) OR
MATCH(`tags`) against('a*' in boolean MODE)
I get the results but not in order like I described how to sort them