dbTalk Databases Forums  

cross query

comp.database.oracle comp.database.oracle


Discuss cross query in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
t
 
Posts: n/a

Default cross query - 08-29-2006 , 02:47 AM






Hi
how in Oracle build cross query like in MS Access

in MS Access I have:
TRANSFORM Sum(t1.war) AS SumaOfwar
SELECT t1.id, t1.name
FROM t1
GROUP BY t1.id, t1.name
PIVOT t1.lim;

result:
id name 3 month 5 dey
022313 Comp_A 1 00 000 10 000


source t1:
id name lim war
022313 Comp_A 5 dey 10 000,00
022313 Comp_A 3 month 100 000,00


thanks for help

t.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.