Pergunta de entrevista da empresa BlackRock

Find second largest entry in SQL. Reverse words in a sentence without using another string.