flipside
Insights
Studio
Quests
For Chains
For Analysts
For Explorers
About
Log in
Sign up
flipside
2024-06-08 07:48 AM
Tobi_1
2024-06-08 07:48 AM
Updated 2024-06-08
Copy Reference
Fork
99
1
2
3
4
5
6
7
8
9
10
11
›
⌄
⌄
SELECT
DATE_TRUNC
(
'day'
,
BLOCK_TIMESTAMP
)
AS
transaction_date
,
COUNT
(
*
)
AS
daily_sales_count
FROM
solana
.
core
.
fact_transactions
;
WHERE
BLOCK_TIMESTAMP
>=
DATEADD
(
day
,
-
30
,
CURRENT_DATE
)
GROUP
BY
transaction_date
ORDER
BY
transaction_date
;
Results