You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT DATE_TRUNC('MONTH', time) AS month,
COUNT(*) AS views,
COUNT(DISTINCT (user_id)) AS users,
SUM("count") AS total
FROM profile_hourly_views_stats
GROUP BY1ORDER BY1;
Month
Views
Users
Total
2023-01-01
15
3
78
2023-02-01
438
18
2700
2023-03-01
951
32
10241
2023-04-01
1110
36
3441
2023-05-01
2191
43
9032
2023-06-01
3433
57
16866
2023-07-01
3331
54
14233
2023-08-01
4539
69
18017
2023-09-01
4519
77
17053
2023-10-01
4473
78
15771
2023-11-01
4919
96
17567
2023-12-01
5525
115
19882
2024-01-01
11185
232
40202
2024-02-01
11348
245
39586
2024-03-01
13581
273
48629
2024-04-01
13613
291
47198
2024-05-01
14655
306
50581
2024-06-01
13924
319
57695
2024-07-01
14589
338
55751
2024-08-01
15593
380
51997
2024-09-01
16034
400
54388
2024-10-01
16599
455
56601
2024-11-01
16500
474
56818
2024-12-01
16511
483
58579
2025-01-01
19778
534
67856
2025-02-01
18914
597
112192
2025-03-01
20892
611
70920
2025-04-01
20738
630
67782
2025-05-01
21916
638
125460
2025-06-01
20758
689
62625
2025-07-01
23749
688
2407710
2025-08-01
23726
686
78508
SELECT
DATE_TRUNC('month', created_at),
COUNT(*)
FROM users
GROUP BY1ORDER BY1;