Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / m
select max(sal) from emp where sal<(select max(sal) from
emp))
| Is This Answer Correct ? | 222 Yes | 39 No |
Post New Answer View All Answers
What is query optimization in sql?
What are synonyms in sql?
how to escape special characters in sql statements? : Sql dba
How consistent is the view of the data between and within multiple sessions, transactions or statements ?
how to show all tables with 'mysql'? : Sql dba
what is the difference between cluster and non cluster index? : Sql dba
How much does a sql dba make? : SQL DBA
The in operator may be used if you know the exact value you want to return for at least one of the columns.
What is write ahead logging in sql server?
What is a constraint?
What is pl sql script?
What is data type in database?
what is 'mysqldump'? : Sql dba
how many triggers are allowed in mysql table? : Sql dba
Explain foreign key in sql?