Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / venkat
select max(sal) from emp where sal<(select max(sal) from
emp);
| Is This Answer Correct ? | 19 Yes | 5 No |
Post New Answer View All Answers
What is exit statement?
What are inner and outer joins examples of both?
What information is needed to connect sql*plus an oracle server?
Why do we use cursors?
How do I write a cron which will run a sql query and mail the results to agroup?
Is postgresql a nosql database?
What is the command used to fetch first 5 characters of the string?
Why use truncate instead of delete?
What does trigger mean in psychology?
Which sql most popular?
What is natural join in sql?
How do I run a sql trace?
what is the different between now() and current_date()? : Sql dba
What is the use of <> sql?
When do we use triggers?