how to get second highest salary in SQL(as/4000
Answer Posted / raji_4u
select *
from emp e1
where 2 = ( select count(distinct sal)
from emp e2
where e1.sal <= e2.sal
)
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
what is difference between delete and truncate commands? : Sql dba
How is indexing done in search engines?
what is collation? : Sql dba
What is %rowtype in pl sql?
Does sql use python?
is it possible to pass an object or table to a procedure as an argument?
What is the purpose of the partition table?
Explain what is sql?
what are null values? : Sql dba
Is delete faster than truncate?
How many rows can sqlite handle?
How to run sql*plus commands in sql developer?
what is the difference between primary key and unique key? : Sql dba
What is an inner join sql?
What mean sql?