mysql - ORDER BY column content MSQL PHP -
For my content output, I have options in the three column columns 'Pozi' (Position): Options: Keeper, Whirling (Defender), MidvevelWelder (Midfielder), and Envler (Invader).
With my output, I want the order to be given that keepers come before defenders (midvelders) and defenders (invalar) before defenders (wordliging).
This is my code:
$ sql = "Order from E2 Tomas by Selection ID, Team, Ragnimer, Pozzy DESC"; And it is important to have something like this:
$ sql = "Select ID, Team, Ragnimer, Possy to E2 Toms, According to Possi, Keeper , Virtualizing, midwilder, envler dessc "; I hope, hope you can help!
You can use the field () for: < / P>
Select ID, Team, Rugmmer, Poetic E-Times Order by FORD (Possy, 'Possy', 'Keeper', 'Virtualizing', 'MidvelWiller', 'Envoyer')
Comments
Post a Comment