guyandshawn
Technical User
Guy writes "I have a Table with two fields.
Parent_ID
Equipment_ID
Every Unique Parent_ID needs to have one record where the Parent_ID and the Equipment_ID matches.
I want to find the Unique Parent_ID's where there is no record where the Parent_ID and the Equipment_ID matches.
Example:
There are two children records and one Parent record. The Parent Record is where the Parent_ID and the Equipment_ID are the same. The Children are where the Equipment_ID does not match the Parent_ID.
Equipment_ID------------Parent_ID
A001--------------------Cleveland 1
A002--------------------Cleveland 1
Cleveland 1-------------Cleveland 1
Example 2:
In this example the Parent Record is missing. There is no record where the Equipment_ID is the same as the Parent_ID
Equipment_ID---------Parent_ID
B001-----------------Cleveland 2
B002-----------------Cleveland 2
The result would show "Cleveland 2"
Thank you so much for your time on this.
Guy
Parent_ID
Equipment_ID
Every Unique Parent_ID needs to have one record where the Parent_ID and the Equipment_ID matches.
I want to find the Unique Parent_ID's where there is no record where the Parent_ID and the Equipment_ID matches.
Example:
There are two children records and one Parent record. The Parent Record is where the Parent_ID and the Equipment_ID are the same. The Children are where the Equipment_ID does not match the Parent_ID.
Equipment_ID------------Parent_ID
A001--------------------Cleveland 1
A002--------------------Cleveland 1
Cleveland 1-------------Cleveland 1
Example 2:
In this example the Parent Record is missing. There is no record where the Equipment_ID is the same as the Parent_ID
Equipment_ID---------Parent_ID
B001-----------------Cleveland 2
B002-----------------Cleveland 2
The result would show "Cleveland 2"
Thank you so much for your time on this.
Guy