Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / malli
select max(sal) from emp where sal<(select max(sal) from emp);
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can we call stored procedure in function?
how can you create an empty table from an existing table? : Sql dba
How to call a javascript function from pl sql?
What is the difference between pl and sql?
which types of join is used in sql widely? : Sql dba
How do I view tables in mysql?
how to calculate expressions with sql statements? : Sql dba
Is left join same as inner join?
How to download oracle sql developer?
What are types of exception?
How are sql commands classified?
What is a pl/sql block?
How do I view a procedure in sql?
What are the ways on commenting in a pl/sql code?
Which sql statement is used to delete data from a database?