find out the second highest salary?
Answer Posted / subash
select sal from emp e
where 2=(select count(distinct sal) from emp b where
b.sal>e.sal)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the uses of linked server and explain it in detail?
How to convert a date to char in oracle? Give one example.
What are privileges and grants?
Explain an index segment?
How to select some columns from a table in oracle?
How many types of synonyms in Oracle?
What happens internally when the user types userID/password@string in SQL PLUS Thanks-Bhaskar
Can sub procedure/function be called recursively?
What is index in Oracle?
How to do a full database export?
How will you differentiate between varchar & varchar2?
How can we force the database to use the user specified rollback segment?
Explain constraining triggers.
Why do we use bulk collect in oracle?
What is BBED in Oracle?