I am trying to get the max salary from the department column but I also want to know the person in that certain department.
what can I do here?
create table if not exists employee(
    id serial unique,
    firstName varchar (15),
    lastName varchar(15),
    department varchar (20),
    salary int
);
select department, max(salary) from employee
group by department
 
    