title: Mysql query to find out third line manager
body: <p>There is an <code>employee</code> table with columns <code>id, manager_id, salary, department</code>.</p>
  
  <p>I want to know the maximum salary department wise for third line managers</p>