vendettaThe ratio of buyer to seller users
    Updated 2024-10-06
    WITH buyer_seller_ratio AS (
    SELECT
    COUNT(DISTINCT BUYER_ADDRESS) AS "total buyers",
    COUNT(DISTINCT SELLER_ADDRESS) AS "total sellers"
    FROM
    base.nft.ez_nft_sales
    )
    SELECT
    "total buyers",
    "total sellers",
    NULLIF("total buyers", 0) / NULLIF("total sellers", 0) AS "buyer to seller ratio"
    FROM
    buyer_seller_ratio;

    QueryRunArchived: QueryRun has been archived