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

To find second largest salary in Employee table

Answer Posted / zulfikar ali

SELECT MAX(SALARY)
FROM EMPLOYEE
WHERE SALARY NOT IN(SELECT TOP 1 SALARY FROM EMPLOYEE ORDER
BY SALARY DESC)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files? : Sql server administration

988


How to delete existing triggers using "drop trigger"?

1059


What is store procedure? How do they work?

1028


Which autogrowth database setting is good?

1064


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

1046


Explain what stored procedure sp_replcounters is used for? : sql server replication

1525


How do you create a data source?

917


How network traffic be reduced by using the stored procedure?

1119


Difference between 2NF &3NF ?

1091


What are the advantages of passing name-value pairs as parameters?

1168


between cast and convert which function would you prefer and why?

962


what are candidate key, alternate key and composite key? : Sql server database administration

921


What are the limitations/drawbacks or ssrs 2008 r2?

139


Explain having clause and where clause?

1061


What are the new features of sql server 2008 r2 reporting service?

209