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

What are the key differences between SQL and PL SQL?

1146


How to look at the current sql*plus system settings?

1078


Which sorts rows in sql?

967


Can you join views in sql?

896


What are the advantages of indexing?

926


how to rename an existing table in mysql? : Sql dba

1004


Which is better trigger or stored procedure?

879


What is an implicit commit?

989


Can you have a foreign key without a primary key?

899


What is the function that is used to transfer a pl/sql table log to a database table?

949


What do you mean by field in sql?

1033


What is cte?

923


Explain the difference between 'between' & 'and' operators in sql

944


What is a schema sql?

1052


what are the advantages a stored procedure? : Sql dba

923