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

select * from (select *,rowcount()over (orderby emp desc)as
rank from emp)b where rank=2

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we rollback after truncate?

1034


What is the use of pl/sql table?

1068


Is clustered index a primary key?

950


What is pl sql in dbms?

954


What is a table partition?

1137


how to shut down the server with 'mysqladmin'? : Sql dba

1014


what is a composite primary key ? : Sql dba

1055


Does truncate remove indexes?

1038


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

1048


What is lookup table in sql?

1053


What is meant by user defined function?

1054


what are all the different normalizations? : Sql dba

1047


Explain autonomous transaction.

1161


What type of join is sql join?

987


What is prepared statement in sql?

1056