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 will u get 1 and 3rd and 5th records in table what is
the query in oracle please help me

Answer Posted / siva reddy

display odd records
select * from emp where (rowid,1) in ( select
rowid,mod(rownum,2) from emp)

display even records

select * from emp where (rowid,0) in ( select
rowid,mod(rownum,2) from emp)

Is This Answer Correct ?    10 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have 10 columns in a flat file and 10 rows corresponding to that columns. I want column number 5 and 6 for last five records. In unix as well as informtica.

1641


Where do we use mapping variables in informatica?

1074


Explain how to import oracle sequence into informatica?

1021


In development project what is the process to follow for an etl developer from day1

1724


can anyone explain me about retail domain project in informatica?

7950


What are the differences between joiner transformation and source qualifier transformation?

1179


What is the difference between a repository server and a powerhouse?

1514


Explain sessions. Explain how batches are used to combine executions?

1034


During the running session, output files are created by informatica server. Enlist few of them.

984


How can you define user defied event?

1034


What are mapplets?

1281


Which is the t/r that builts only single cache memory?

1190


Tell me about MD5 functions in informatica

930


What is incremental aggregation?

1091


What is joiner transformation?

1015