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 out the third highest salary?

Answer Posted / sanjeev kumar p

select * from emp e1 where (3-1) = (select count(distinct
(e2.sal)) from emp e2 where e2.sal>e1.sal)

Is This Answer Correct ?    99 Yes 51 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an oracle user role?

1041


What is a schema in oracle?

1067


What is program global area (pga) in oracle?

1092


How data locks are respected in oracle?

1113


What is connection pool in oracle?

1039


What are the ansi data types supported in oracle?

992


How to write an inner join with the where clause in oracle?

1091


How can we find out the current date and time in oracle?

1133


can u send the sql dumps to sivakumarr1987@gmail.com plz help me

3101


How to get execution statistics reports on query statements?

1155


What is sequence?

1137


What is a snapshot log?

1051


> CREATE OR REPLACE FUNCTION FACTORIAL_1(factstr varchar2 ) 2 RETURN NUMBER AS 3 new_str VARCHAR2(4000) := factstr||'*' ; 4 fact number := 1 ; 5 BEGIN 6 7 WHILE new_str IS NOT NULL 8 LOOP 9 fact := fact * TO_NUMBER(SUBSTR(new_str,1,INSTR(new_str,'*')-1)); 10 new_str := substr( new_str,INSTR(new_str,'*')+1); 11 END LOOP; 12 13 RETURN fact; 14 15 END; explanation Above program?

2093


How to select some columns from a table in oracle?

1176


How to count duplicated values in a column in oracle?

1107