SELECT slnname, (SELECT REVERSE(LEFT (REVERSE(projectid),LOCATE('G', REVERSE(projectid)) - 1))) AS numb
FROM pmaunew
ORDER BY numb
其他分割:https://www.cnblogs.com/wjm956/p/7724244.html
SELECT slnname, (SELECT REVERSE(LEFT (REVERSE(projectid),LOCATE('G', REVERSE(projectid)) - 1))) AS numb
FROM pmaunew
ORDER BY numb
其他分割:https://www.cnblogs.com/wjm956/p/7724244.html