SQL Function Reference

RIGHT
Returns the specified number of rightmost characters of the string
MySQL
RIGHT(str, number_of_characters)
str
Source string
number_of_characters
The number of characters to extract
Examples
MySQL
SELECT RIGHT('sql-academy', 3);