For example I have a table x that has columns (col1,col2,col3) and it has the values
| col1 | col2 | col3 |
|---|---|---|
| 1 | 2 | 3 |
| 2 | 4 | 5 |
| 1 | 2 | 7 |
| 5 | 8 | 7 |
and I want to get true if the table contains for all col1=1 and that both 3 and 7 are good values for col3 meaning to search for every row with col1=1 and col3=3 or 7. I tried doing so with contains but I failed. also is it possible to want that for the value 2 in col1 i will have 3 in col3 and for the value 1 in col1 i will have 7 in col3? thank a lot if someone can help me I will be very thankful. thank you all