how to find the second highest salary from emp table?
Answer Posted / prasanna
select A.* from employee A where 1=(select count(distinct
B.sal) from employee B where B.sal>A.sal)
| Is This Answer Correct ? | 63 Yes | 71 No |
Post New Answer View All Answers
Is sql scripting language?
What is range partitioning?
What are string functions in sql?
What is sql table?
How do I get sql certification?
Explain polymorphism in pl/sql.
Differentiate between sga and pga.
how many tables will create when we create table, what are they? : Sql dba
What is difference between table and view?
Can we use ddl statements in stored procedure?
What is sql partition?
How do I run pl sql in sql developer?
Is it important to partition hard disk?
What is the purpose of the sql select top clause?
Which is faster view or stored procedure?