Accenture interview question

SQL query to get the 3rd highest salary department wise.