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

What is primary key in db?

1005


Write a sql query to find the names of employees that begin with ‘a’?

1011


Can we create a trigger on view?

892


Can we delete column in sql?

1092


How is pl sql different from sql?

1085


What are sql indexes?

997


how to create a test table in your mysql server? : Sql dba

1005


how to use case expression? : Sql dba

1021


Describe types of sql statements?

1055


How to use transactions efficiently : transact sql

1054


How do we accept inputs from user during runtime?

1059


What is prepared statement in sql?

1045


How can we avoid duplicating records in a query?

979


how to convert character strings to numeric values? : Sql dba

1104


Which table is left in join?

976