Higher Than 75 Marks

  • + 0 comments

    Hey sudhansusekhar_1! I solved this problem using RIGHT() function and it's working:

    SELECT Name FROM STUDENTS WHERE Marks > 75 ORDER BY RIGHT(Name, 3), ID;

    But after approchaing the problem using SUBSTR/SUBSTRING I'm getting following error: 1. SQL0138N A numeric argument of a built-in string function is out of range. 2. SQLSTATE=22011

    I'm unable to solve this error so please could you help me with this. Thank you!