Hi - I am a little rust on my Access and SQL and I need a little advise on the best way to proceed with a specific problem. Here's an example of the data:.
Table Name = Temp
DATA
A ----- P1
A ----- P2
A ----- P3
B ----- P1
B ----- P2
B ----- P3
B ----- P4
C ----- P2
C ----- P3
C ----- P4
What I need to do is query the above data and presents rows that exludes data from Column 2 that does not appear for all records in Column A. this is how I would expect the result to look:
RESULT:
A ----- P2
A ----- P3
B ----- P2
B ----- P3
C ----- P2
C ----- P3
EXCLUDED:
A ----- P1
B ----- P1
B ----- P4
C ----- P4
Table Name = Temp
DATA
A ----- P1
A ----- P2
A ----- P3
B ----- P1
B ----- P2
B ----- P3
B ----- P4
C ----- P2
C ----- P3
C ----- P4
What I need to do is query the above data and presents rows that exludes data from Column 2 that does not appear for all records in Column A. this is how I would expect the result to look:
RESULT:
A ----- P2
A ----- P3
B ----- P2
B ----- P3
C ----- P2
C ----- P3
EXCLUDED:
A ----- P1
B ----- P1
B ----- P4
C ----- P4