Skip to content

Commit

Permalink
make query twice faster
Browse files Browse the repository at this point in the history
  • Loading branch information
green-jay committed Jul 20, 2023
1 parent 15fdd3b commit b920470
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions queries/coingecko/v1/tickers.sql
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ oa_rank AS (
) AS rank
FROM
omnipool_asset
WHERE
block > (SELECT MAX(block) - 14400 /*2days*/ FROM omnipool_asset)

),
hub_reserve AS (
SELECT
Expand Down

0 comments on commit b920470

Please sign in to comment.