how to calcuate the second highest salary of he employee

Answer Posted / vivek ghorad

select min(select top(2)salary from emp)from emp;

Is This Answer Correct ?    3 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does mysql support pl sql?

811


What is sqlca in db2?

696


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

1734


Difference between table function and pipelined function?

768


What is pls integer?

779






Explain the structure of pl/sql in brief.

796


What is offset and limit in sql?

744


Is t sql a programming language?

761


What schema means?

680


How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?

760


What are all the ddl commands?

860


Is microsoft sql free?

778


What are variables in pl sql?

790


what is 'mysqlimport'? : Sql dba

725


explain the advantages and disadvantages of stored procedure? : Sql dba

717