Pergunta de entrevista da empresa Tenet Healthcare

How do you fetch second highest salary in a given table? What is the difference between where, in and having clause? How do you check if given string is palindrome in python?