DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
SQL Query Orderby Two or More Columns and by number of characters
SELECT * FROM table_name ORDER BY RIGHT(name, 3) ASC, LEFT(town, 2);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#SQL
#Query
#Orderby
#Two
#More
#Columns
#number
#characters
ADD COMMENT
Topic
COMMENT
Name
4+3 =
Submit