Question DB-SQL-0057
MediumWhich query finds the second-highest distinct salary in table emp(salary)?
- A.
SELECT SECOND(salary) FROM emp;
- B.
SELECT MAX(salary) FROM emp WHERE salary < (SELECT MAX(salary) FROM emp);
- C.
Sign up free to see the answer and a step-by-step explanation.