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

select name,salary from (select salary from emp order by
salary desc)where rownum<2

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you do multiple joins in sql?

1062


How do I partition a table in sql?

1143


How do I trace sql profiler?

998


What is sql indexing?

1019


Do prepared statements prevent sql injection?

957


Which join is like an inner join?

1036


What is meant by truncate in sql?

1074


What is dml with example?

1096


How to process query result in pl/sql?

1143


Can we commit in trigger?

987


What are all the different normalization?

1049


How to start the command-line sql*plus?

1063


Can we use ddl statements in stored procedure?

1162


What are different joins used in sql?

1067


Why commit is not used in triggers?

1049