Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / varun
select max(sal) from emp ((select sal from emp)-(select max
(sal) from emp))
Is This Answer Correct ? | 5 Yes | 8 No |
Post New Answer View All Answers
what are date and time data types in mysql? : Sql dba
Determine if oracle date is on a weekend?
what is index? : Sql dba
Why do we use partitions in sql?
give the syntax of grant and revoke commands? : Sql dba
what does myisamchk do? : Sql dba
What is set serveroutput on?
What is Collation Sensitivity ? What are the various type ?
How is indexing done in search engines?
What are primary key and foreign key and how they work?
Mention what are the benefits of pl/sql packages?
What is the most restrictive isolation level? : Transact sql
What does dml mean?
what is an alias command? : Sql dba
What are the various levels of constraints?