SQL: continuous date ranges across multiple rows and input into one line i have a data set where a client has date from and date to billed everyday.