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

SELECT TOP 1 salary
FROM (
SELECT DISTINCT TOP n 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 view means?

984


How many primary keys can a table have?

1013


What is the difference between left join and right join?

950


What are sql built in functions?

944


What is difference between sql and excel?

1100


What are different clauses used in sql?

1121


What are different types of sql commands?

1123


How can check sql version from command line?

1090


What plvcmt and plvrb does in pl/sql?

1328


What is an oracle stored procedure?

1058


What is input buffer in sql*plus?

1232


what is a database transaction? : Sql dba

1190


what is 'mysqlshow'? : Sql dba

1032


Write a program that shows the usage of while loop to calculate the average of user entered numbers and entry of more numbers are stopped by entering number 0?

2284


what is the difference difference between procedure and packages

10419