i have 2 tables I need to find values which are present in t1 but not present in t2. thanx in advance
Here is the SQL code for what you want. Of course you will need to change the table and field names to match what you are using. Code: SELECT T1.Fld1, T1.Fld2, T1.Fld3 FROM T1 LEFT JOIN T2 ON T1.Fld1= T2.Field1 WHERE (((T2.Field2) Is Null)); Hope this helps, Vic
SELECT T1.Fld1, T1.Fld2, T1.Fld3 FROM T1 LEFT JOIN T2 ON T1.Fld1= T2.Field1 WHERE (((T2.Field2) Is Null));
thanx it helped
Forum Rules