SELECT s.emp_no,s.salary,e.last_name,e.first_name FROM employees e INNER JOIN (SELECT s1.emp_no,s1.salary FROM salaries s1,salaries s2 WHERE s1.salary < s2.salary GROUP BY s1.emp_no HAVING COUNT(s1.emp_no) = 1) as s ON e.emp_no = s.emp_no
SELECT s.emp_no,s.salary,e.last_name,e.first_name FROM employees e INNER JOIN (SELECT s1.emp_no,s1.salary FROM salaries s1,salaries s2 WHERE s1.salary < s2.salary GROUP BY s1.emp_no HAVING COUNT(s1.emp_no) = 1) as s ON e.emp_no = s.emp_no