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 / sumit sharma

select sal from (select distinct(sal) from emp where sal is
NOT NULL order by sal dsc) where rownum = 2

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of variable use in pl sql?

1134


Can I call a procedure inside a function?

1074


What is a native sql query?

1167


what is row? : Sql dba

1275


Difference between truncate, delete and drop commands?

1141


what is query cache in mysql? : Sql dba

1078


what is self join and what is the requirement of self join? : Sql dba

1187


what is a cursor? : Sql dba

1063


what is a primary key? : Sql dba

1086


What is auto increment feature in sql?

1172


What are the types of views in sql?

1138


what is the difference between a having clause and a where clause? : Sql dba

1154


Explain the difference between cursor declared in procedures and cursors declared in the package specification?

1221


What are the types of optimization?

1008


What is nvl?

1109