Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Pivot table Query - Need help in building correct logic

2 views
Skip to first unread message

Pankaj

unread,
Dec 3, 2009, 6:36:29 PM12/3/09
to
Greetings,

I have a table format as below

sec value type
X 100 T
X 200 S
Y 300 T
Y 400 S
Z 500 T
Z 600 S

I want to pivot the above to somethin as below

sec T S
X 100 200
Y 300 400
Z 500 600

Can anyone please advise. I have been looking for pivot logic for some
time but could not figure this out.

TIA

Peter Nilsson

unread,
Dec 3, 2009, 7:08:44 PM12/3/09
to

Pankaj

unread,
Dec 3, 2009, 7:28:26 PM12/3/09
to
> Peter- Hide quoted text -
>
> - Show quoted text -

Thanks Peter. As I said earlier, I did tried google but could not
found the correct way of implementing the logic. Also, the domain for
sec is not fixed. I have just shown X, Y and Z but there could be
more.

Thanks for your time.

joel garry

unread,
Dec 3, 2009, 8:04:38 PM12/3/09
to

Oddly enough, clicking on that link led me directly to this one:
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::NO::P11_QUESTION_ID:766825833740

You must be so cool, getting people to google for you!

jg
--
@home.com is bogus.
"Contrary to what I said at the time, we must go after the idiots who
lost the discs and stick cocktail sticks in their eyes until they beg
for mercy." - Jeremy Clarkson

Pankaj

unread,
Dec 3, 2009, 9:02:56 PM12/3/09
to
> Oddly enough, clicking on that link led me directly to this one:http://asktom.oracle.com/pls/asktom/f?p=100:11:0::NO::P11_QUESTION_ID...

>
> You must be so cool, getting people to google for you!
>
> jg
> --
> @home.com is bogus.
> "Contrary to what I said at the time, we must go after the idiots who
> lost the discs and stick cocktail sticks in their eyes until they beg
> for mercy." - Jeremy Clarkson- Hide quoted text -

>
> - Show quoted text -

Thanks Joel. I will get back in case any more queries.

Gerard H. Pille

unread,
Dec 5, 2009, 8:12:57 AM12/5/09
to
Pankaj schreef:

Joel, the CDOM Google search engine.

0 new messages