how to find the second highest salary from emp table?
Answer Posted / radha sri seshu
second method is
select sal from emp e1 where 2=(select count(distinct(sal))
from emp e2 where e1.sal<=e2.sal);
| Is This Answer Correct ? | 35 Yes | 22 No |
Post New Answer View All Answers
what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql
What is attribute indicator in pl sql?
What are the advantages of sql?
How is debugging done?
Is the primary key an index?
what are the different type of sql's statements ? : Sql dba
Is pl sql a programming language?
How do I view output in sql developer?
Which join is like an inner join?
Define sql delete statement.
What are the popular database management systems in the it industry?
What is data manipulation language?
What are all the ddl commands?
Can a composite key be null?
How do I remove sql plus from windows 10?