Higher Than 75 Marks

  • + 0 comments

    anyone can tell me the difference between this SELECT id, substring(name,-3), marks FROM students WHERE marks>75 ORDER BY substring(name,-3), id; what is wrong in this way i got the same output as using SELECT (NAME) FROM STUDENTS WHERE MARKS>75 ORDER BY SUBSTR(NAME,-3,3), ID ASC;