Answer Posted / lingareddy
select top 1 salary from (select distinct top 5 salary from emp order by salary desc ) a order by salary asc
if u have any doubts in SQL kindly reach with me,
Thanks & Regards,
Lingareddy.S
sabbasani.reddy1@gmail.com
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to open and close an explicit cursor in oracle?
What is blob data type in oracle?
Can we write dml statement in function in oracle?
What is tns entry?
What do you mean by group by clause?
How to use fetch statement in a loop?
Select all the employees who were hired in last 2 years and who works in dept where max managers are working.
What is blob datatype?
What is coalesce function?
State some uses of redo log files?
What view(s) do you use to associate a users SQLPLUS session with his o/s process?
What is tns service name?
How to convert raw data type into text in oracle? Explain
How to create a new tablespace in oracle?
If a parameter is used in a query without being previously defined, what diff. exist betw. report 2.0 and 2.5 when the query is applied ?