Skip to content

count on multiple boolean columns

My Current Table looks as follows public.transactions storeId FeatureA FeatureB FeatureC Details 123 true false false … (JSON) 123 false false false 123 …

Get active weeks from start and end date

I have subscriptions data as shown below. The data shows when a user bought a subscription. It has user_id,subscription_id,start date and end_date. I have derived wk_start and wk_end from it. +——…