first :

```
id_look     id_first    name
1           1           Jhon
2           2           Mark
3           3           Mike

```

Second

```
id     id_first     surnames
1      2            AAA
2      2            BBB
3      2            CCC
4      1            DDD
5      1            AAA
6      1            BBB
7      3            BBB

```

I want to get all `id_look` (same `id_first`) if surname is `AAA` AND `BBB` 

So the result should be :

```
id_look
1
2  

```

because only that `id_look` contains `AAA` AND `BBB` at the same time.