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

how to find the second highest salary from emp table?

Answer Posted / satish kumar

Select Top1 salary
from(select Distinct Top2 salary from employee order by salary DESC) a order by salary

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does index help in query performance?

1032


How do I view a table in sql?

1013


what is the bond code in materialized view?

3005


How do I filter in sql profiler?

1002


what is data manipulation language? : Sql dba

1022


How to use distinct and count in sql query? Explain

1031


what are the differences between require and include, include_once and require_once? : Sql dba

1029


what are the authentication modes in sql server? How can it be changed? : Sql dba

1440


What is the use of index in hive?

1007


How do I access sql anywhere database?

974


How can you know that statistics should be updated?

1081


How to call shell script from pl sql procedure?

1285


how mysql optimizes distinct? : Sql dba

1083


What is denormalization in a database?

1060


What is compound trigger?

1044