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

Write a query to get 2nd maximum salary in an employee table ?

Answer Posted / prem chhappesh

select max(salary) from emoplyee where salary not in(select max(salary) from employee)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I view tables in sql developer?

1009


How does sql*loader handles newline characters in a record? : aql loader

1093


What is sorting in sql?

985


how do you know if your mysql server is alive? : Sql dba

1130


How to handle bulk data?

1368


What are the different schemas objects that can be created using pl/sql?

1085


What is meant by user defined function?

1104


What is sap sql anywhere?

1168


Is it possible to sort a column using a column alias?

1104


What is join view in sql?

989


Why do we use partitions in sql?

1096


What is sql server and ase?

1072


Is crud a cuss word?

1073


How to convert comma separated string to array in pl/sql?

1242


Why functions are used in sql?

1044