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 / krishna mohan thamisetty

SELECT * FROM Emp e1
WHERE 2 = (SELECT COUNT(*) FROM Emp e2 WHERE e1.Salary <=
e2.Salary)

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The external application that is executed in one of the tasks does not have a log file, but only a screen log. How can I save the data from the screen? : sql server management studio

955


What is the use of group by clause?

902


What is the difference between grant and with grant while giving permissions to the user?

900


What is NOT NULL Constraint in sql server 2012?

936


What is RAID? What are the different types of RAID configurations?

1066


Explain query editor regions

1005


How to divide query output into multiple groups with the group by clause in ms sql server?

965


How do I get to sql server configuration manager?

953


How can we delete a table in sql server?

925


What is cte (common table expression)?

979


What do you understand by a view?

936


What are the tables in sql?

1040


do you know what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration

922


You have modified 100 store procedures and want to replicate these changes from development to prodution, and production can have users using the Server/DB, how would you replicate without causing issues?

2094


Do you know what guidelines should be followed to help minimize deadlocks?

922