with data1 as(SELECT DISTINCT origin_from_address as user from ethereum.core.ez_dex_swaps where origin_to_Address=lower('0x881D40237659C251811CEC9c364ef91dC08D300C')),
data2 as (
SELECT date(creation_time) as date,count(creation_tx) as transactions,platform from ethereum.core.dim_dex_liquidity_pools where factory_Address in (SELECT user from data1)
GROUP by 1,3)
SELECT * from data2
LIMIT 1000