I have this situation of identifying previous available records and duplicate it whenever the corresponding month\'s record is not available. Here is the table structure: