Skip to content

Commit

Permalink
chore(script): change col names
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Dec 24, 2024
1 parent adb2bd3 commit 6a7c21b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/mau.sql
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
select
count(distinct user_id) as mau_posts,
count(distinct user_id) as active_posts,
date_trunc('month', updated_at) as month
from posts
group by month
order by month DESC;

select
count(distinct user_id) as mau_pgs,
count(distinct user_id) as active_sites,
date_trunc('month', updated_at) as month
from projects
group by month
order by month DESC;

select
count(id) as users,
count(id) as new_users,
date_trunc('month', created_at) as month
from app_users
group by month
Expand Down

0 comments on commit 6a7c21b

Please sign in to comment.