Forum Moderators: open
SELECT colA, colB FROM table ORDER BY colA ASC, colB DESC colA | colB
1. All | 1. PSS
1. All | 1. Partner
1. All | 1. PSS
1. All | 1. Kane
1. All | 1. PSS
1. All | 1. PSS
1. All | 1. PSS
1. All | 1. Kane
1. All | 1. PSS
1. All | 1. Partner
1. All | 1. Partner SELECT
REGEXP_REPLACE(colA, '^[^a-z]+', '') AS colA_modified,
REGEXP_REPLACE(coB, '^[^a-z]+', '') AS colB_modified
FROM table ORDER BY CAST(colA_modified AS CHAR(50)) ASC, CAST(colB_modified AS CHAR(50)) DESC