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.
Inside the substring function you can replace len(name)-2 with -3. Negative means te counting starts from behind. And you do not need to specify asc after id as asc is the default option considered by ORDER BY.
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 →
Inside the substring function you can replace len(name)-2 with -3. Negative means te counting starts from behind. And you do not need to specify asc after id as asc is the default option considered by ORDER BY.