โ† Paytm questions

SQL Query for Department with Maximum Average Salary

Filed under Paytm

The question

Given 'emp' and 'dept' tables where deptno is a primary key in dept and foreign key in emp, write an SQL query to find the department name with the maximum average salary.

No write-up yet. Related questions below have one.

Related Paytm questions

Collected from public candidate posts and coding forums. Updated Nov 2026.