DELETE FROM eventstore.fields WHERE aggregate_type = 'org' AND aggregate_id IN ( SELECT aggregate_id FROM eventstore.events2 WHERE aggregate_type = 'org' AND event_type = 'org.removed' );