Looking to get the "Total Consecutive Days" per row.
Shift Table Contains ShiftId, ClientID, ServiceId and ProviderID ShiftDetails Table has the dates.
There can be multiple Shifts with the same ShiftId, ClientID, ServiceId There can even be duplicate dates.
Would like to have multiple "Total Consecutive Days" calculations. Consecutive Days Per ClientID Consecutive Days Per ClientID and ServiceID Consecutive Days Per ClientID , ServiceID and ProviderID.