I have a table in mysql having columns Description,Quantity , All Sizes
Description    quantity   Allsizes
Cap              3           small
0                3           medium
0                3           large
Shirt            2           small
0                2           medium
I want to replace the '0' in description column to the value of the row preceeding it, In this example the o/p would be
Cap              3            small
Cap              3            medium
Cap              3            large
Shirt            2            small
Shirt            2            medium
How can i achieve this ?Any help is much appreciated
 
     
    