Substr For Last 3 Characters In Sql