Return the second highest salary in each department. If a department has fewer than two distinct salaries, return null for that department. Ties on salary count once.
employees, ordered by department_idCommunity-reported interview topic. Not an official company question and no affiliation is implied.
Run against the public tests, or submit to score against all of them.