Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / jebitha
select max(sal) from emp where sal<>(select max(sal) from
emp);
| Is This Answer Correct ? | 7 Yes | 9 No |
Post New Answer View All Answers
Is sqlite thread safe?
What are % type and % rowtype?
describe mysql connection using mysql binary. : Sql dba
Why do we need cursor in pl sql?
What does a pl/sql package consist of?
How can a function retun more than one value in oracle with proper example?
Can you have a foreign key without a primary key?
Can we use loop in sql?
Why is there a need for sqlcode and sqlerrm variables?
What is left join example?
What is a call statement? Explain with an example.
How do I write a sql query in pgadmin 4?
How can you create an empty table from an existing table?
How do you create an update query?
How do I truncate a word?