Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sort by last two number sql

SELECT inft.port FROM interfaces AS intf ORDER BY SUBSTRING(intf.port, LOCATE('/', intf.port)+1, LENGTH(intf.port)) + 0
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sort #number #sql
ADD COMMENT
Topic
Name
5+1 =