Pergunta de entrevista da empresa EPAM Systems

Can we use implicit wait multiple in the program. If yes then which one will execute first. Write the SQL query which is printed largest 3rd number.