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

What is the query to find nth highest salary?
What is the use of cursors?

Answer Posted / ram

1. nth highest salary

-> select *from emp e where &n =(select count(distinct sal)
from emp m where e.sal <= m.sal);


2. -> Cursor.

When a query is executed in oracle, a result set is
produced and stored in the memory. Oracle allows the
programmer to access this result set in the memory through
cursors.

use a cursor?

Many times, when a query returns more than one row as a
result, we might want to go through each row and process
the data in different way for them. Cursor is handy here.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is informatica powercenter repository?

1140


Clarify the aggregator change?

970


How can we remove the duplicates from flat file source?

947


Have you worked with/created Parameter file

1610


Sequence generator, when you move from develoment to production how will you reset

1939


r u done any partitions in ur project?

1750


What does refresh system mean, and what are its distinctive choice?

1071


What are the tasks that source qualifier perform?

1029


can i any one explain me realtime healthcare project explanation..for interview .iam new to informatica .thanks in advance.

3811


Do you find any difficulty while working with flat files as source and target?

1050


Partition, what happens if the specified key range is shorter and longer

2432


Explain what are the different types of transformation available in informatica. And what are the mostly used ones among them?

990


How to create or import flat file definition in to the warehouse designer?

1020


COM components can be used in Informatica

2312


how many types of dimensions are available in informatica?

996