Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to Execute a Package in PL/SQL.?

1106


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..

2447


Can I copy :old and :new pseudo-records in/to an oracle stored procedure?

1140


What is asqueryable?

902


how do you control the max size of a heap table? : Sql dba

918


What are the ways on commenting in a pl/sql code?

1048


Is nosql faster than sql?

969


What is nosql example?

968


Explain normalization and what are the advantages of it?

890


how to drop an existing table in mysql? : Sql dba

981


What is the purpose of the primary key?

1004


What is before and after trigger?

889


How can I delete duplicate rows?

963


What is the use of double ampersand (&&) in sql queries? Give an example

1076


How can we optimize a sql query?

982