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
how can we destroy the cookie? : Sql dba
how would concatenate strings in mysql? : Sql dba
How to process query result in pl/sql?
what are the system privileges that are required by a schema owner (user) to create a trigger on a table?
What is a dirty read sql?
How to rename a column in the output of sql query?
what is uncommittable transactions? : Transact sql
Does pl sql work in mysql?
how is myisam table stored? : Sql dba
How do I filter in sql profiler?
Explain dml and ddl?
Can we enter data in a table in design view?
What is sql scripting?
How do I order columns in sql?
explain primary keys and auto increment fields in mysql : sql dba