Query editor
SELECTSUM(CASE WHEN token_standard = 'erc721' THEN number_of_items ELSE 0 END) AS total_erc721_minted,COUNT(DISTINCT(CASE WHEN token_standard = 'erc721' THEN nft_contract_address END)) AS erc721_smart_contract,COUNT(DISTINCT(CASE WHEN token_standard = 'erc721' THEN collection END)) AS erc721_collections,ROUND(SUM(CASE WHEN token_standard = 'erc721' THEN amount_original ELSE 0 END), 2) AS erc721_ETH_raised,ROUND(SUM(CASE WHEN token_standard = 'erc721' THEN amount_usd ELSE 0 END), 2) AS erc721_USD_raised,SUM(CASE WHEN token_standard = 'erc1155' AND collection <> 'unknown' THEN number_of_items ELSE 0 END) AS total_erc1155_minted,COUNT(DISTINCT(CASE WHEN token_standard = 'erc1155' THEN nft_contract_address END)) AS erc1155_smart_contract,COUNT(DISTINCT(CASE WHEN token_standard = 'erc1155' THEN collection END)) AS erc1155_collections,ROUND(SUM(CASE WHEN token_standard = 'erc1155' THEN amount_original ELSE 0 END), 2) AS erc1155_ETH_raised,ROUND(SUM(CASE WHEN token_standard = 'erc1155' THEN amount_usd ELSE 0 END), 2) AS erc1155_USD_raisedFROM nft.mintsWHERE evt_type = 'Mint'AND blockchain = 'ethereum'AND currency_symbol = 'ETH'