RIGHT
Return the rightmost characters. This function returns the specified number of characters from the end (right) of a string.
Syntax
RIGHT(str,len)Description
Examples
SELECT RIGHT('MariaDB', 2);
+---------------------+
| RIGHT('MariaDB', 2) |
+---------------------+
| DB |
+---------------------+Last updated
Was this helpful?

