how to find the second highest salary from emp table?
Answer Posted / harish
select * from emp where 2=(select count(distinct sal) from emp s where s.sal>e.sal
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is coalesce in sql?
Is sql considered coding?
What normalization means?
How do I turn a list into a table?
Can you skip header records while loading? : aql loader
What are the advantages of sql?
Name three sql operations that perform a sort.
how to convert character strings to numeric values? : Sql dba
What has stored procedures in sql?
What is the use of nvl function?
how to drop an existing index in mysql? : Sql dba
what are the properties and different types of sub-queries? : Sql dba
which types of join is used in sql widely? : Sql dba
How do you modify a trigger?
Can we join 3 tables in sql?