Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / kotravel. b
SELECT MAX(SAL) FROM EMPLOYEE WHERE SAL<(SELECT MAX(SAL)
FROM EMPLOYEE);
THIS will surly give 2^nd max sal ok this correct ans ok....
Is This Answer Correct ? | 85 Yes | 13 No |
Post New Answer View All Answers
What is pragma in sql?
Does oracle roll back the transaction on an error?
What are the types of triggers in sql?
What are the types of operators available in sql?
what is a stored procedure? : Sql dba
What is the difference between joins?
Which is faster count (*) or count 1?
What is the command used to fetch first 5 characters of the string?
Is it possible to remove child records without removing master table records...the two having pk,fk relationship?
What is pl sql variable?
where are cookies actually stored on the hard disk? : Sql dba
Define SQL and state the differences between SQL and other conventional programming Languages?
What is left join in sql?
What is sqlservr exe?
What is implicit cursor in pl sql?