Query editor
with nowash AS (SELECT day as time,fill_source,users,WashTypeFROM (SELECT DATE(tx_timestamp_dt) AS day,fill_source,to as users,'No' as WashTypeFROM reservoir.salesWHERE tx_timestamp_dt >= date_trunc('day', NOW()) - interval '4' monthAND order_kind != 'mint'AND order_source != 'cryptopunks.app'AND fill_source = 'gem.xyz'AND wash_trading_score = 0AND tx_hash NOT IN (SELECT tx_hash FROM query_2007904)UNION ALLSELECT DATE(tx_timestamp_dt) AS day,fill_source,"from" as users,'No' as WashTypeFROM reservoir.salesWHERE tx_timestamp_dt >= date_trunc('day', NOW()) - interval '4' monthAND order_kind != 'mint'AND order_source != 'cryptopunks.app'AND fill_source = 'gem.xyz'AND wash_trading_score = 0AND tx_hash NOT IN (SELECT tx_hash FROM query_2007904)) a),wash AS (SELECT day as time,fill_source,users,WashTypeFROM (SELECT DATE(tx_timestamp_dt) AS day,fill_source,to as users,'Yes' as WashTypeFROM reservoir.salesWHERE tx_timestamp_dt >= date_trunc('day', NOW()) - interval '4' monthAND order_kind != 'mint'AND order_source != 'cryptopunks.app'AND fill_source = 'gem.xyz'UNION ALLSELECT DATE(tx_timestamp_dt) AS day,fill_source,"from" as users,'Yes' as WashTypeFROM reservoir.salesWHERE tx_timestamp_dt >= date_trunc('day', NOW()) - interval '4' monthAND order_kind != 'mint'AND order_source != 'cryptopunks.app'AND fill_source = 'gem.xyz') a),