There are some SQL procedures that I have a very hard time visualizing. This is one of them.
Given these first five columns as the result of a ce_data table:
How would I add the RUNNING_TOTAL column as shown below? It is a running total of the OPERATION_DAYS column with the total reset grouped by BASE_ID, LOT_ID, SPLIT_ID.