Query editor
/* Success! If you're still running into issues, check out https://dune.com/docs/query/syntax-differences/ or reach out in the #dune-sql Discord channel. *//* !Generated view warning: you can't query views in dune_user_generated anymore. All queries in DuneSQL are by default views though (try querying the table 'query_1747157') */SELECT--DATE_TRUNC('day', cast(AVG(CURRENT_TIMESTAMP - first_tx) as timestamp)) AS "avg_age"day(avg(date_trunc('day',CURRENT_TIMESTAMP) - date_trunc('day',first_tx))) as "avg_age"FROM(SELECTcast(MIN("block_time") as timestamp) AS first_tx,"from" AS walletFROMethereum."transactions"WHERE"from" IN (SELECT"wallet"FROMquery_758392-- dune_user_generated.evmaverick_owners)GROUP BY"from") AS a