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
Can we create index on primary key?
How do you delete a table?
What is oracle pl sql developer?
What are types of indexes in sql?
What is sqlexception in java?
What is integrity in sql?
what is the difference between truncate and delete statement? : Transact sql
How to write a query to show the details of a student from students table whose
How do you create a db file?
Does sqlite need a server?
What is a recursive join sql?
What is the maximum number of columns in sql table?
What are the different dcl commands in sql?
Cite the differences between execution of triggers and stored procedures?
how to use in conditions? : Sql dba