Hi,
I m using Access 2003.
I have 3 tables in an access like Table A, Table B & Table C , there is only one column in each table which contains unique records (It is possible that (Table A & Table B) (Table B & Table C) (Table A & Table C) have common records,).
Table A has 100 record, Table B has 50 and Table C has 30.
Common records between A and B are 40, between A and C are 20, between A,B and C are 10
Now I want 50 records from Table A which contains common record from B but not present in Table c.( Here common number between A and B are 40 out of that 10 record are there in Table C, so I can take only 30 records which are common in A and B, rest 20 are any records which are not present in Table C)
Currently I m able to do this by a long procedure, I want to do it by a single Query. Count of record are taken as sample actual data will be differ but in same forma.
sample access is attached…for your ease.
Re,
Irfan
Bookmarks