Page 1 of 1

Scenario

Posted: Thu Feb 23, 2012 2:25 pm
by sudhana
Hi All,

can any one please help me to solve the below query.

source:
empno, Sal
101,1000
101,2000
101,3000
102,1000
102,2000
102,3000

output:
empno,sal
101,1000
101,10002000
101,100020003000
102,1000
102,10002000
102,100020003000

Thanks In advance.

Posted: Thu Feb 23, 2012 3:06 pm
by ray.wurlod
Search for "vertical pivot" and adapt one of the techniques.