Query editor
SELECTDATE_TRUNC('day', block_time) AS date,SUM(amount_usd) AS USD /* (case when T.platform= 'Opensea' then sum(amount_usd) end) as "Opensea", *//* (case when T.platform= 'rarible' then sum(amount_usd) end) as "rarible", *//* (case when T.platform= 'superrare' then sum(amount_usd) end) as "superrare", *//* (case when T.platform= 'looksrare' then sum(amount_usd) end) as "looksrare", *//* (case when T.platform= 'larvalabs contract' then sum(amount_usd) end) as "larvalabs contract", *//* (case when T.platform= 'foundation' then sum(amount_usd) end) as "foundation" */FROMnft."trades" AS TWHERET.blockchain = 'ethereum'AND tx_hash <> 0x0bffc7955c9b587d0bd8bb3db8e6ec13f0c6685e2d56353cd3d0ddfe57b94ce6AND tx_hash <> 0xedae6744e335364be09b234591d367117c2322598a6bc67d89b6fdd432efe7ecAND tx_hash <> 0x7379b7bf6344cb069e3bdac2d5b893696ea0c182b60ce3d4aecf1522ee4e2da5AND tx_hash <> 0x0bffc7955c9b587d0bd8bb3db8e6ec13f0c6685e2d56353cd3d0ddfe57b94ce6AND tx_hash <> 0x07e9763e9930f8671ef03853e039f0ae0728e62ef9e60e017f20d1a524866914AND tx_hash <> 0x92488a00dfa0746c300c66a716e6cc11ba9c0f9d40d8c58e792cc7fcebf432d0AND tx_hash <> 0x5302a80abc4fe8660c19cee5cd5b0aec6437b9672157383debcf28d6f89a34efAND tx_hash <> 0xfce005dfeb6b12e668e2de44c13d3b941db101326819e5818745e186ed1581f4AND tx_hash <> 0x1f2ee7113b20ba126fdc6cfff0fc9a9b6c6f92a9aef22daa179a999af448a747AND tx_hash <> 0x61a44e01fbe690e6a6b2db0b0c1f0a7cc242ea199b5a0b6fee216fc5aa5a1ba8AND tx_hash <> 0x55ab5921d4496954156b0bac2182a0da94d6ee4ff1c2eaaeb6df06d57aafe5d2AND tx_hash <> 0x4948753c0af0cc39f0e44a9a614f62bd237a8003b7034f9bf9103040ae78d65bAND tx_hash <> 0xe1ae8d3d31303f4007ab3e7aa99ede8f5878b4e0db7377a3504114469ccf1c83AND tx_hash <> 0xe607a4ee571ce94856fe2b178257acdef7c6eb30e5bd0f34b1ea52ce153310baAND tx_hash <> 0x855e6720a2d34341401ff88baaa72a0ca9a7832dbad2b682c460cb51b5e30a96AND tx_hash <> 0x3347858e4c5c3c737a0e4929e38edc37683fe0deff474130ac8452d276339098AND tx_hash <> 0x0347d5828834ac2fbe5e55d4043f06e1987526277f2356b7d7300dc0c07f04b7AND tx_hash <> 0x855e6720a2d34341401ff88baaa72a0ca9a7832dbad2b682c460cb51b5e30a96AND tx_hash <> 0x765b18d02ad6d0661918f96c35f624655be48cd5e2432bbc8f0e40847ed02dc0AND tx_hash <> 0x0831db6af74c935724b82d72f0ccd269bf428004ff3da2b3d90c310ebe886af0AND tx_hash <> 0x473b45618a3e427bdc92194a275ecce6389fe8caea7cbeabbae431533a265e3fAND block_time > CURRENT_TIMESTAMP - INTERVAL '1year'GROUP BY1 /* select * from nft."trades" *//* where T.blockchain = 'ethereum' and amount_usd is not null *//* order by amount_usd desc *//* limit 1000 *//* select * from nft."trades" *//* limit 10 */