We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Seleact Name from Student where Marks >75 ordere by substr(Name,-3,3) asc, ID asc;
aabove query for Oracle, since we knew the ordering with last three letters of NAME field, -3 indicated the third character form last and 3 the length of character formt he starting position indicated.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Higher Than 75 Marks
You are viewing a single comment's thread. Return to all comments →
Seleact Name from Student where Marks >75 ordere by substr(Name,-3,3) asc, ID asc;
aabove query for Oracle, since we knew the ordering with last three letters of NAME field, -3 indicated the third character form last and 3 the length of character formt he starting position indicated.