Pergunta de entrevista da empresa CitiusTech

SQL command to print the second highest salary in the emp table

Resposta da entrevista

Sigiloso

4 de abr. de 2022

SELECT MAX (salary) from emp where sal<(SELECT MAX(salary) from emp)