Query editor
-- This query has been migrated to run on DuneSQL. If you need to change back because you’re seeing issues, use the Query History view to restore the previous version. If you notice a regression, please email [email protected].SELECTCAST(from_unixtime(tx_timestamp) AS DATE) AS day,CASEWHEN fill_source <> '' THEN fill_sourceELSE 'other'END AS fill_source,COUNT(*) AS sales,SUM(price / 1e18) as "sum((price / 1.0E18))",COUNT(DISTINCT to) AS usersFROMreservoir.salesWHERECAST(from_unixtime(tx_timestamp) AS DATE) >= cast('2022-04-10' as date)AND order_kind <> 'mint'GROUP BY1,2