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

Can function return multiple values in sql?

988


Can we rollback after truncate?

982


What is embedded sql what are its advantages?

962


What is dba in sql? : SQL DBA

999


What are sql*plus environment variables?

1032


Is a secondary key the same as a foreign key?

955


What is the difference between between and in condition operators?

940


What are the two types of exceptions in pl/sql?

969


Explain the the delete statements in sql?

982


Why is a primary key important?

968


What is bulk compiling in pl/sql.?

1065


Can a foreign key be a duplicate?

859


What are different types of tables in sql?

941


What is sql partition?

1038


Are dml statements autocommit?

987