How can I compare two fields from two tables with IN clausule, but, one of the fields has one one "value" and the other field I have a group of values?
TABLE_FOO:
FOO (int)
1
2
TABLE_BAR:
BAR FOO (string)
1 1,2
Thats my SELECT:
SELECT * FROM TABLE_FOO, TABLE_BAR WHERE TABLE_FOO.FOO IN TABLE_BAR.FOO
I can't get the result of this query.
EDIT I think that its not a duplicated question, as my problem here is to "Link" two tables through relational (joins) 'select'.