Find out the 3rd highest salary?
Answer Posted / srikanth
select * from (select e.*,rank() over(order by salary desc
nulls last) sal_rnk from employee e)where sal_rnk=3;
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
What is not equal in sql?
Why procedure is used in sql?
What is the syntax to add a record to a table?
How to select unique records from a table?
how to delete duplicate rows from a join tables(I have three tables on that join) how do you know which join is need to be used? The select statement I have is: SELECT gc_skill_type.skill_type, gc_area_tec.area, gc_technology.technology, gc_technology.id_technology, gc_area_tec.id_area_tec FROM gc_skill_type, gc_area_tec, gc_technology WHERE gc_area_tec.id_skill_type (+) = gc_skill_type.id_skill_type AND gc_technology.id_area_tec (+) = gc_area_tec.id_area_tec order by gc_skill_type.skill_type asc, gc_area_tec.area asc, gc_technology.technology asc
in oracle 10g sw after compiling procedure how to pass parameter values ,if we (v_empid out number)how to give empid after successful compilation program.This site exact suitable for 10g with respect to question & answer same format , im trying sql browser & sql command prompt using exec procedure name & respective parameters.
Is hadoop a nosql?
What can I use instead of union in sql?
Can we use loop in sql?
What are two statement types in sql?
What is data profiling in sql?
What are pl/sql cursor exceptions?
What is meant by <> in sql?
What makes a good primary key?
how to dump a table to a file with 'mysqldump'? : Sql dba