I have a table which has the following format :-
Column A Column B Column C
a b NULL
06/13/2012
08/11/2012
C D NULL
09/11/2011
E F NULL
06/13/2012
09/11/2012
Where as the required output needs to be
Column A Column B Column C a b 06/13/2012 a b 08/11/2012 C D 09/11/2011 E F 06/13/2012 E F 09/11/2012
Is there a way by which we can update column A and column B by loop. i.e. start with a combination of distinct Column A and Column B and update the remaining rows of that column till we reach a new distinct value. Something like Update column A and column B with a and b until a new values (C, D)