Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / varun
select sal from emp where rownum=2 order by sal desc;
| Is This Answer Correct ? | 6 Yes | 19 No |
Post New Answer View All Answers
Is left join and outer join same?
Why do we use sql constraints? Which constraints we can use while creating database in sql?
How to run sql commands in sql*plus?
Difference between table function and pipelined function?
Why we use stored procedure instead of query?
What is the use of pl/sql table?
What is a rank in sql?
What is the difference between clustered and non-clustered indexes?
How can a function retun more than one value in oracle with proper example?
how to see the create table statement of an existing table? : Sql dba
what is the difference between char_length and length? : Sql dba
What is full join in sql?
What are the various restrictions imposed on view in terms of dml?
What is sql lookup?
How many sectors are in a partition?