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

select ename,esal from
(select ename,esal from hsal
order by esal desc)
where rownum <=2;

Is This Answer Correct ?    123 Yes 242 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I tune a sql query?

1043


what are the system privileges that are required by a schema owner (user) to create a trigger on a table?

1126


how to get @@error and @@rowcount at the same time? : Sql dba

1082


Why select is used in sql?

1070


What is 19 null in sql?

1023


Explian rowid, rownum?

1086


how to create a new table by selecting rows from another table in mysql? : Sql dba

1168


What is oracle and pl sql?

1160


What is a schema? How is it useful in sql servers?

1178


What is pessimistic concurrency control? : Transact sql

1136


Can we perform dml on view?

1118


What are pl sql procedures?

1081


How to execute a stored procedure?

1162


What is #table in sql?

1182


What is difference between stored procedures and application procedures?

1068