samUntitled Query
    Updated 2022-08-10
    -- outstanding loan no repayments yet

    with raw as (
    select
    origin_from_address,
    lending_pool_address,
    symbol
    from ethereum.sushi.ez_borrowing
    where action = 'Borrow'

    except

    select
    origin_from_address,
    lending_pool_address,
    symbol
    from ethereum.sushi.ez_borrowing
    where action = 'Repay'
    )

    select* from raw

    --select* from ethereum.sushi.ez_borrowing
    --where origin_from_address = '0xff2779e68e24b725c625f514acb36736a23391e8'
    --where tx_hash = '0x0aa96fbb75fd403dddde5e38bb321b20eca0c7449348227bd455bfa0a7933c40'
    Run a query to Download Data