Query editor
selectcasewhen approx_percentile(amount_usd, 0.1) = 0 then NULLelse approx_percentile(amount_usd, 0.1)end as floor_price_usd,casewhen approx_percentile(amount_original, 0.1) = 0 then NULLelse approx_percentile(amount_original, 0.1)end as floor_price_ethfrom nft.tradeswhere blockchain = 'base'and nft_contract_address = 0x2bd7bf903a41d2fe857f68f1fbfae2a34786ba2cand block_time >= now() - INTERVAL '24' HOUR