I am looking for a way to select records from 1 table only when a specific value exists.
For example. Table 1 and Table 2 are joined. I want to bring back values A,B,C,D from Table 2 only when there is an A value.
When A exists then bring back A,B,C,D (if B,C or D exist) If there is no A then don't bring back anything.
Thanks.
For example. Table 1 and Table 2 are joined. I want to bring back values A,B,C,D from Table 2 only when there is an A value.
When A exists then bring back A,B,C,D (if B,C or D exist) If there is no A then don't bring back anything.
Thanks.