Content Explore

2.3 按子串排序

Published : 2008-11-18 Categories : Cookbook Tags : SQL DB2 MySQL Oracle PostgreSQL Database MSSQL substr substring
2.3 按子串排序
Q: 按照字符串某一部分排序, 如按照某字段值的最后两个字符排序
A: 使用 DBMS 内置函数
DB2, MySQL, Oracle, PostgreSQL ( substr()...