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...

find the second highest salary of the emp table

Answer Posted / chiru

select distinct sal
from Employee e1
where 3 = (select count(distinct sal) from Employee e2
where e2.sal >= e1.sal)
order by sal desc

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of system.effective.date variable in oracle?

1163


Please explain oracle left join with an example?

1095


What is oracle database 10g express edition?

1172


How to create a new tablespace in oracle?

1035


Is there any function in oracle similar like group_concat of mysql?

1109


Why do you create or replace procedures rather that drop and recreate.

1071


Explain the use of owner option in exp command.

1100


What are a query and state the different types of queries and their uses?

1067


When do I need to use a semicolon vs a slash in oracle sql?

1147


Explain the use of record length option in exp command.

1120


How to create additional tablespaces for an new database?

1079


How many anonymous blocks can be defined?

1253


WHAT IS THE DEFINITION OF DEFAULT CUSTOMER IN AR?

2251


I have some query regarding Report generation from Oracle Apps "PO module". I have to generate a report where table columns are as below: Vendor_name Invoice No PO Number Item_Quantity Value of Goods Date of Shipping Name_of_the_transport Date_of_receipt_issued. Now my questions is :from which table/column I can get the information of "Name_of_the_transport" column. Thanks in advance.

3386


Name the three major set of files on disk that compose a database in Oracle?

1172