Created
March 30, 2022 13:48
-
-
Save IndigoW0lf/f42c8c5c53347682beb8a8037535d2c5 to your computer and use it in GitHub Desktop.
MySQL substr method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT name FROM students | |
WHERE marks > 75 | |
ORDER BY substr(name, -3, 3), id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment