Hi:
I have 2 tables Table A & Table B. Table A has Field "Name_TableA" & Table B has Field "Name_TableB". There are certain common records between BOTH the tables. But my query has to FIND the Records that EXIST in Table A but NOT IN Table B. So I use this query --
Select [Table A].[Name_TableA] FROM [Table A] WHERE NOT EXISTS (select NULL FROM [Table B] WHERE [Table A].[Name_TableA] = [Table B].[Name_tableB]);
But I get to see records that EXISt in Table B as well.
Any Ideas on this Query???
Thanks!!!
I have 2 tables Table A & Table B. Table A has Field "Name_TableA" & Table B has Field "Name_TableB". There are certain common records between BOTH the tables. But my query has to FIND the Records that EXIST in Table A but NOT IN Table B. So I use this query --
Select [Table A].[Name_TableA] FROM [Table A] WHERE NOT EXISTS (select NULL FROM [Table B] WHERE [Table A].[Name_TableA] = [Table B].[Name_tableB]);
But I get to see records that EXISt in Table B as well.
Any Ideas on this Query???
Thanks!!!