how to find the second highest salary from emp table?
Answer Posted / yash goyal
Select Distinct salary
from employees e
where &no-1=(select count(distinct salary )
from employees
where E.salary < salary);
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are reports usually used for?
What are the basic sql commands?
Can we rollback delete command?
What are the advantages of pl sql?
What is informix sql?
What is delimiter in pl sql?
What are the possible values for the boolean data field?
What is multiple partition?
Why we use join in sql?
How many parts of a pl sql block are optional?
What are the types pl/sql code blocks?
What is a natural join?
What is numeric function sql?
What is pl sql collection?
What are joins in sql?