sql - MySQL ORDER BY Send first to last -


I managed to properly organize my list using UNNSD variables, but output is a problem, it Only the entry begins with a letter before the entry entries

this SQL statement ORDER BY CAST (unnecessary as a reason), cause (where "cause" is the string)

I wish to "unknown cause" which is a string that does not start with a number below, so throwing the first result found in the lower part of the list .

You can add multiple keys including, with expression:

  In the order ('0' and '9' between left (cause, 1)), reason  

evaluates the first condition when the condition starts with the number, it is 1 As it is considered and goes to the top, the rest will go down for reasons.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -