Basically, I have a field that can contain some prefix strings:
word1
bla2
ttt3
word4
[...]
I need to order SQL first, for example ttt3, and then all other lines after.
I tried it with no luck
ORDER BY FIELD (myField,'ttt3',*)
Any suggestions?
source
share