hmmm....
i didnt describe the problem properly
i have these tables:
table1:id1(pk),id2(pk)
table2:id1(fk),id2(fk),value
in table2 are SOME(but not all) entries of table1.
now i wanna check, whether there are entries left in table1, which are not in table2
my statement so far is:
select * from table1 where (id1,id2) NOT IN ( select (id1,id2) from table2 where value='1' )
i checked the mysql-manual but their examples for subqueries didnt work...
and i already did a workaround with an outer join but that was not fast enough,
i just cant get this **** statement to work... can u help me???