I need to do a control to verify that in each partition (BY ID) the sequence of the dates is correct
I need to do a add a column (CTRL) to verify that in each partition (ID) the sequence of the dates (REFERENCE_DATE) is correct keeping in consideration the column NUM_ROLL;