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

select min(a.standardcost) from
(
select distinct top 2 StandardCost
from Production.ProductCostHistory
order by standardcost desc
)a

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to generate create view script on an existing view?

948


What does ss stand for sexually?

1011


Can anyone tell that the extra features are there in SQL SERVER 2008 that are not available in previous versions .

1907


What are the High-Availability solutions in SQL Server and differentiate them briefly?

1088


difference between Clustered index and non clustered index ?

936


How to create a ddl trigger using "create trigger" statements?

1071


What is primary key index?

921


What are the new features introduced in SQL Server 2000 (or the latest release of SQL Server at the time of your interview)? What changed between the previous version of SQL Server and the current version?

1023


What are the lambda triggers?

857


Write the syntax for stuff function in an sql server?

979


What is constraints and its types?

879


What is an indexed view?

919


How will you make an attribute not process? : sql server analysis services, ssas

1011


What is difference between equi join and inner join?

860


What is the cartesian product of the table?

903