Query editor
--Error: Query is too long for wand tools.--Try shortening query to try again.--Error: Query is too long for wand tools.--Try shortening query to try again.--Error: Query is too long for wand tools.--Try shortening query to try again./* Error: Query is too long for wand tools. *//* Try shortening query to try again. */WITH all_dex /* dex market including 0x data */ AS (SELECTblock_date,amount_usd,amount_usd_bought,amount_usd_sold,token_bought_amount,taker,project,tx_hashFROM (SELECTblock_date,CASEWHEN token_bought_address IN (0x6810e776880c02933d47db1b9fc05908e5386b96)THEN amount_usdEND AS amount_usd_bought,CASEWHEN token_sold_address IN (0x6810e776880c02933d47db1b9fc05908e5386b96)THEN amount_usdEND AS amount_usd_sold,amount_usd,CASEWHEN token_bought_address IN (0x6810e776880c02933d47db1b9fc05908e5386b96)THEN token_bought_amountEND AS token_bought_amount,CASEWHEN token_sold_address IN (0x6810e776880c02933d47db1b9fc05908e5386b96)THEN token_sold_amountEND AS token_sold_amount,project,tx_hash,takerFROM dex.tradesWHERE(token_bought_address IN (0x6810e776880c02933d47db1b9fc05908e5386b96)OR token_sold_address IN (0x6810e776880c02933d47db1b9fc05908e5386b96))UNION ALLSELECTblock_date,CASEWHEN token_bought_address IN (0x6810e776880c02933d47db1b9fc05908e5386b96)THEN amount_usdEND AS amount_usd_bought,CASEWHEN token_sold_address IN (0x6810e776880c02933d47db1b9fc05908e5386b96)THEN amount_usdEND AS amount_usd_sold,amount_usd,CASE