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 / pardeep kumar

This is the Simplest One
Let i have a Column named EmpSal in Tbale Named tbEmp


Select Min(EmpSal) from tbEmp where EmpSal IN(Select
Distinct Top 3 EmpSal from tbEmp ORDER BY EmpSal DESC)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a primary key & a unique key?

1036


Can a parameter be passed to a cursor?

1049


20. Using a set operator, display the client number of all clients who have never placed an order.

2142


Can you have more than one content canvas view attached with a window ?

2259


How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?

3152


How will you identify oracle database software release?

941


How to fetch the row which has the max value for a column?

944


What is the parameter mode that can be passed to a procedure?

978


What is MTTR advisor in Oracle?

1033


Differentiate between translate and replace?

1035


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

1979


How will you differentiate between varchar & varchar2?

990


Is there an oracle sql query that aggregates multiple rows into one row?

930


What is different types of joins?

961


What are the different types of partitions in oracle?

906