Pergunta de entrevista da empresa Walmart

SQL query to find nested manager in emp manager table.