Write a query to get 2nd maximum salary in an employee table ?

Answer Posted / wei

The best answer should be the first one, this is because
the sql statement accesses table emp only once.

Is This Answer Correct ?    9 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cursor and why it is required?

540


Can cursors be part of a trigger body?

1097


i have 2 table table one 4 columns respective values a1 7,a2 6,a3 8 ,a4 12 & table two 4 colums respective values a1 7,a2 6,a3 8,a4 15.if table one & table two 3 colums same then 4th column values 1)Qes diff >5 then print 5 * diff value 2)Que diff <5 print 5

3177


Is coalesce faster than isnull?

496


How to make a copy values from one column to another in sql?

559






What is informix sql?

529


How would you convert date into julian date format?

578


Can we use ddl statements in stored procedure?

687


Which is the correct statement about truncate and delete?

517


What is difference sql and mysql?

517


What is union and union all keyword in sql?

555


What is difference between procedure and trigger?

501


What is set serveroutput on in pl sql?

561


What is cursor in pl sql?

561


What is rowid in sql?

496