CodePudding user response:
The order by the replace (the name, the '%', ') + 0CodePudding user response:
CodePudding user response:
Order by decode (riskLevel, 'no' - 99999, cast (replace (riskLevel, '%', ') as number)) descCodePudding user response: