Pergunta de entrevista da empresa CGI

3rd highest salary using sql and pyspark, if less than 3 then take the second one.