Query editor
SELECTROUND(AVG(CAST(REGEXP_REPLACE(TRIM(post_money_valuation), '[$,]', '') AS DOUBLE)),0) AS average_post_money_valuationFROM dune.mateo_pbw.dataset_top100sibWHERE TRIM(post_money_valuation) != ''AND CAST(REGEXP_REPLACE(TRIM(post_money_valuation), '[$,]', '') AS DOUBLE) > 100AND CAST(REGEXP_REPLACE(TRIM(post_money_valuation), '[$,]', '') AS DOUBLE) <= 500000000AND LOWER(stage) LIKE '%seed%'AND LOWER(stage) NOT LIKE '%pre-seed%';