I have a dataframe with customer id, begin date and end date for a subscription. Now I have to calculate the ratio of lost customers per week using SQL/Bigquery with 30 days