how to find the second highest salary from emp table?
Answer Posted / nitin
SQL> select emp_sal from (select emp_sal from nitin order
by emp_sal desc) group by rownum,emp_sal
having rownum=2;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain what is an index?
How can I get the number of records affected by a stored procedure?
What types of commands can be executed in sql*plus?
What is bind reference and how can it be created?
What is raid? How does it help storage of databases?
What is the basic form of sql query?
How do I run a sql trace?
Is join and inner join the same?
Is pl sql different from sql?
Is left join inner or outer by default?
What is anonymous block in sql?
what is a record in a database ? : Sql dba
What is pl sql and why it is used for?
What is break?
How many sql commands are there?