Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / nitika
SELECT MAX(SAL) FROM EMPLOYEE WHERE SAL<(SELECT MAX(SAL)
FROM EMPLOYEE);
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How to return multiple rows from the stored procedure?
What are the types of variable use in pl sql?
What is sqlservr exe?
What is the difference between an inner and outer join?
What are sql triggers used for?
What is trigger in pl sql with examples?
Can a select statement fire a trigger?
Can we rollback truncate?
What does the base_object_type column shows in the user.triggers data dictionary view?
How do I count duplicates in sql?
how to drop an existing table in mysql? : Sql dba
What are pl sql procedures?
what is transaction? : Sql dba
What is left inner join in sql?
How can we optimize a sql query?