Skip to content

Commit

Permalink
fix: monthly flow stablecoin volume
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdesalle committed Feb 4, 2025
1 parent 069a06a commit f1f5a6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions queries/flow:_monthly_stablecoin_volum___4614039.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ SELECT
FROM
query_4606918 -- Flow: Deposit Data
WHERE
-- evt_block_time < DATE_TRUNC('month', CURRENT_DATE) AND
evt_block_time >= DATE_TRUNC('month', CURRENT_DATE) - INTERVAL '12' MONTH
evt_block_time < DATE_TRUNC('month', CURRENT_DATE)
AND evt_block_time >= DATE_TRUNC('month', CURRENT_DATE) - INTERVAL '12' MONTH
GROUP BY
DATE_FORMAT(evt_block_time, '%M %Y'),
DATE_TRUNC('month', evt_block_time)
ORDER BY
DATE_TRUNC('month', evt_block_time);
);

0 comments on commit f1f5a6b

Please sign in to comment.