how to find the second highest salary from emp table?
Answer Posted / vinod
SELECT MAX(SAL) FROM TEST_123 WHERE SAL NOT IN (SELECT
MAX(SAL) FROM TEST_123)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why stored procedures are faster than query?
Why join is faster than subquery?
Define implicit and explicit cursors.
What is the difference between functions, procedures, and packages in pl/sql?
what are the 'mysql' command line options? : Sql dba
What is t sql in sql server?
what is online transaction processing (oltp)? : Sql dba
Is it possible to update views?
what is sql? : Sql dba
How can we store rows in PL/SQL using array?
What is bitemporal narrowing?
Explain how exception handling is done in advance pl/sql?
Explain how to use transactions efficiently : transact sql
Explain sql data types?
What are primary key and foreign key and how they work?