SELECT a.block_timestamp,
a.tx_id,
a.attribute_value as twitter_handle, c.attribute_value as wallet_address
FROM osmosis.core.fact_msg_attributes a , osmosis.core.fact_msg_attributes b, osmosis.core.fact_msg_attributes c
WHERE a.attribute_key = 'name' AND b.attribute_value IS NOT NULL
AND b.attribute_key = 'minter' and b.attribute_value = 'osmo1llh07xn7pcst3jqm0xpsucf90lzugfskkkhk8a3u2yznqmse4l5smydwpw'
AND c.attribute_key = 'owner'
-- AND a.tx_id = 'A6F3ACB625A03DAB5B06E7877E13E9CA5602FDD3D57F4C98D6C5B5B00730CDF1'
AND a.tx_id = b.tx_id
AND a.tx_id = c.tx_id