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.
By default the ordering is asc so avoided that.
Also noted that answers without the ; are also being accepted for MS SQL even though the instructions ask to add ; after the query
Select NAME from STUDENTS where MARKS > 75 ORDER BY RIGHT(NAME, 3), ID
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 →
By default the ordering is asc so avoided that. Also noted that answers without the ; are also being accepted for MS SQL even though the instructions ask to add ; after the query
Select NAME from STUDENTS where MARKS > 75 ORDER BY RIGHT(NAME, 3), ID