Get data from previous row if a particular column is blank

What makes you think a relation/table has an order?