Pergunta de entrevista da empresa Cognizant

Reverse the string in python and a query abt joins in sql