RIGHT(string_exp, count)

Returns the rightmost count characters of string_exp.

 

Example:

SELECT RIGHT('ABCDE',2) returns DE