Untitled
unknown
plain_text
2 years ago
167 B
7
Indexable
select distinct cast(date_trunc('month', created_at) as date), count(user_id) over(partition by cast(date_trunc('month', created_at) as date)) from tools_shop.users
Editor is loading...
select distinct cast(date_trunc('month', created_at) as date), count(user_id) over(partition by cast(date_trunc('month', created_at) as date)) from tools_shop.users