SELECT first_name ,   last_name ,   salary ,  department_id ,  MAX(salary) FROM employees GROUP BY department_id
What are the department ids, full names, and salaries for employees who make the most in their departments?
SELECT first_name , last_name , salary , department_id , MAX ( salary ) FROM employees GROUP BY department_id
select first_name , last_name , salary , department_id , max ( salary ) from employees group by department_id
What are the department ids , full names , and salaries for employees who make the most in their departments ?