I have Table with two cols ID\_COL and VALUE\_COL. 

```
ID_COL    VALUE_OUT
======    =========
15          10
16          10
16          11
17          10
17          11
17          12
18          10
18          12
19          11
20          11
20          12
21          12

```

this table is populated with some combinations based on our biz rule. Now i want to find the output as follows. 

The input from the application is 11,12 

we need to search in the above table and need to find the ID\_COL. In this case i need to return the value 20 from ID\_COL ( this is one exact match of 11,12 others having extra values) 

It is not two values to match , some times it might be single value also.. if i pass 12 .. i need to return id\_col 21