Created
October 14, 2012 23:28
-
-
Save stevereich/3890147 to your computer and use it in GitHub Desktop.
SQL Query ordering by character length.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
* | |
FROM | |
badwords | |
ORDER BY CHAR_LENGTH(strBadWord) DESC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment