Count active users if they have made a buy in the last three months (Historical) SQL

后端 未结 0 1612
离开以前
离开以前 2021-01-28 03:06

This is my query

select family, year(date_var), month(date_var) as \'Mes\',
count(distinct user_id) 
from my table
where date_var >= \'2016-08-01\'
group by fa         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题