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 / amol

select MAX (sallary) from emp where sallary<=(select MAX(sallary) from emp)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the usage of the distinct keyword?

1220


Can we rollback truncate?

999


What is the difference between partitioning and sharding?

1008


Which command is used to call a stored procedure?

1001


what are the advantages a stored procedure? : Sql dba

977


Is sql a backend?

1027


How do I run a script in sql developer?

951


Explain the working of foreign key?

1068


What are the different type of joins in sql?

956


What programs use sql?

1013


Why do we need cursors in pl sql?

1083


How can you load microsoft excel data into oracle? : aql loader

1174


What is a sql instance vs database?

1117


How many scalar data types are supported in pl/sql?

1057


What are data types in pl sql?

1144