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
How can get second highest salary in sql?
Where is all the data on the internet stored?
What is %s in sql?
how to shutdown mysql server? : Sql dba
What is the difference between a database and a relational database?
Is there a 64 bit version of ssms?
Is sql a case sensitive language?
Is sql procedural language?
How many aggregate functions are available there in sql?
Why indexing is needed?
What is null in pl/sql?
what is 'mysqlcheck'? : Sql dba
Can we use distinct and group by together?
How can you tell the difference between an index and a view?
What is pl/sql language case sensitive?