how to get second highest salary in SQL(as/4000
Answer Posted / c srirammulu
select * from emp a where &n=(select count(distinct (sal))
from emp f where a.sal<f.sal)
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Can we call a function containing dml statements in a select query?
How do I restart sql?
What is clause in sql?
What are the benefits of pl sql?
Explain the working of primary key?
What is sql*loader?
What are expressions?
What are the sql aggregate functions?
What are sql ddl commands?
Is not equal in sql?
Is pl sql a programming language?
What language is oracle sql developer?
What is left inner join in sql?
What is not null in sql?
What is the difference between drop and truncate commands?