how to find the second highest salary from emp table?
Answer Posted / abhijeet banarse
Select level,Max(sal) from emp1
Where level=&level connect by prior sal>sal
group by level;
Enter the level No=2 (Here enter 2 manually)
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain ddl statements in pl/sql?
How do I find duplicates in a single column in sql?
How do I remove all records from a table?
which tcp/ip port does sql server run on? : Sql dba
Does truncate remove indexes?
When to use inner join and left join?
How can I make sql query run faster?
What is oracle and pl sql?
How to find 3rd highest salary of an employee from the employee table in sql?
State some properties of relational databases?
what is innodb? : Sql dba
Any attempt to navigate programmatically to disabled form in a call_form stack is allowed?
Can I copy :old and :new pseudo-records in/to an oracle stored procedure?
What is union, minus and interact commands?
describe mysql connection using mysql binary. : Sql dba