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

please tell me the query to get details of the employee
having the second largest salary

Answer Posted / devendra dwivedi

Select * from EmpTbl Where Salary = (Select Max(Salary) from
EmpTbl Where Salary < (Select Max(Salary) from EmpTbl)

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens to a trigger with multiple affected rows?

994


What do you understand by SQL*Net?

1082


How does using a separate hard drive for several database objects improves performance right away?

988


How to populate a table in sql server?

995


Explain what is the main purpose of having conversation group?

986


What is order of B+tree?

1152


Explain about Normalization?

1121


as a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this? : Sql server administration

1017


What is 2nf in normalization?

1054


What does it mean to be in union?

980


write an SQL query to list the employees who joined in the month of January?

1737


What happens when the SQL Azure database reaches Max Size?

113


Explain ranking functions?

1094


What is sqlservr.exe - process - sql server (sqlex?press)?

1152


What are the five characteristics of good data?

970