title: Find the third-highest salary in each department
body: <p>I am trying to find the <strong>third-highest salary</strong> in <strong>each department</strong> if there is such. </p>
  
  <p><img src="https://i.stack.imgur.com/Vk6EQ.png" alt="enter image description here"></p>
  
  <pre><code>SELECT DepartmentID
  FROM Employees
  GROUP BY DepartmentID
  </code></pre>
  
  <p>This is what I can do.</p>
  
  <p>I looked at similar posts but not sure I understand how to do it with my table. </p>