I have this table in Oracle db from which I migrate data to my schema. I must migrate it in many threads but I must have data with specific event\_owner in on thread..

```
desc EVENTS
Name             Null     Type         
---------------- -------- ------------ 
EVENT_OWNER                 NUMBER       
EVENT_SOURCE NOT NULL NUMBER       
EVENT_CATEGORY                 VARCHAR2(14) 

EVENT_OWNER EVENT_SOURCE EVENT_CATEGORY
1           A            B   
5           A            C
3           A            B
1           X            E
4           A            B
5           A            C
7           A            C
8           A            C

```

Is it possible (and how to do that) to make a query that will return for example three owners and all of their events, such as:

```
1           A            B   
1           X            E

4           A            B

5           A            C
5           A            C

```

(the migration process will mark owners during migration, so i will be able to append to that query 

> 
> "and EVENT\_OWNER not in (select owners during migration)"
> 
> 
>