how to calcuate the second highest salary of he employee
Answer Posted / udhayakumar
select salary from (select salary from emp order by salary
desc) where rownum=2;
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the difference between clustered and non-clustered index in sql?
What are the parts of a basic sql query?
What are different types of statements supported by sql?
Why do we use joins?
How to process query result in pl/sql?
What is trigger in pl sql with examples?
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
Is sql harder than python?
What is sql stand for?
What is a primary key? Explain
What is sql partition function?
what is innodb? : Sql dba
How delete all data from table in sql?
how to fetch alternate records from a table? : Sql dba
Explain table and field in sql?