Here is a way - but this will fail if the name happens to be "John Ho". Even that can be fixed, but then there will be other cases, for example, "John Ho Jr".SELECT
CASE
WHEN ao.officer_name LIKE '% [a-zA-Z][a-zA-Z]' THEN RIGHT(ao.officer_name, 2)
ELSE ''
END