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

select max(salary) from employee where salary not in (select
top 1 salary from employee order by salary desc )


change 1 to 2,3,4,......like that for 3rd max ,4th max
salary.....

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to run sql statements with oracle sql developer?

1123


Is sql low level language?

1067


What is nosql example?

1096


Who developed sql?

1101


What are the ddl commands?

1055


How does sql store data?

959


how to show all tables with 'mysql'? : Sql dba

1159


How many clustered indexes can be created on a table?

1125


Where is all the data on the internet stored?

1060


What is meant by truncate in sql?

1111


What is oracle pl sql developer?

1026


How do I truncate a sql log file?

1138


How does cross join work in sql?

1079


What is rename in sql?

1019


Explain the types of joins in sql?

1075