how to find the second highest salary from emp table?
Answer Posted / rajat
select max(sal) from table_name sal<(select max(sal)
from table_name)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to Execute a Package in PL/SQL.?
ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..
Can I copy :old and :new pseudo-records in/to an oracle stored procedure?
What is asqueryable?
how do you control the max size of a heap table? : Sql dba
What are the ways on commenting in a pl/sql code?
Is nosql faster than sql?
What is nosql example?
Explain normalization and what are the advantages of it?
how to drop an existing table in mysql? : Sql dba
What is the purpose of the primary key?
What is before and after trigger?
How can I delete duplicate rows?
What is the use of double ampersand (&&) in sql queries? Give an example
How can we optimize a sql query?