How many tuples will be retrieved by using following query on given table?SELECT MAX(EMP_SAL) FROM EMPLOYEE GROUP BY DEPT_NO; * code example
Example: second max salary in sql
SELECT MAX(SALARY) 'SECOND_MAX' FROM EMPLOYEES
WHERE SALARY <> (SELECT MAX(SALARY) FROM EMPLOYEES);