Indium Software Interview Question

They asked me a question in SQL. Write the SQL operation for taking the maximum salary from each department.

Interview Answer

Anonymous

Jan 6, 2026

I used GROUP BY to group the department and used MAX(salary).

1