Helo, I need to group based on data values.When there is 100 in COl1 a new group starts and I need to fill the values from Col2. There is ordering by another column col3( looks like some sequence..) Below output shown.I am on Oracle 12C release 1
COl1 Col2 Col3
----- ----- -----
100 ABC inc. 1
201 Z1 2
201 Z2 3
301 X1 4
100 PQR inc. 5
201 C1 6
301 D1 7
201 S1 8
100 XYZ inc. 9
201 D1 10
Output :
Col1 COl2
---- -----
ABC inc. Z1
ABC inc. Z2
ABC inc. X1
PQR inc. C1
PQR inc. D1
PQR inc. S1
XYZ inc. D1
Thanks