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

select sal from emp
where rownum=2
order by sal desc

Is This Answer Correct ?    10 Yes 50 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the possible values that can be stored in a boolean data field?

950


What does dml mean?

930


Explain correlated query work?

992


1. is it possible to use the cursor atttibutes (%found ,% rowcount , %isopen , %notfound ) to our user defined cursor names ....... cursor cursor_name is select * from scott.emp if you use... cursor_name%found , %rowcount ,%isopen,%notfound...will it work... -------------------------- 2.what is the difference between the varray and index by table .. -------- 3. type type_name is table of number(8,3) index by binary_integer; identifier_name type_name; first , last , prior , next ,trim are the methods we can use it for the above type...simillary is there any way to apply for cursors... with thanks and regards..sarao...

2367


What is a primary key called that is made up of more than one field?

1286


What are sql procedures?

967


How do you delete data from a table?

976


Can we rollback delete command?

936


what are the properties and different types of sub-queries? : Sql dba

970


What is recursive stored procedure?

1048


What is number function in sql?

915


Can you call pl/sql package functions from within a fast formula?

978


What are secondary keys?

923


How many types of tables are there?

901


Explain lock escalation? : Transact sql

1144