Reversing Strings In Python Using Join In Sql