Hi,
I have two tables, [Rules] and [Process] which are in a many to many relationship via a junction table[JRule_Process]. It has the following field (relevant ones for this discussion):
[Rules]
RuleID
RuleName
[Process]
ProcessID
ProcessName
[JRule_Process]
JunctionID
RuleID
ProcessID
I have almost 5000 unique [RuleName] and around 100 [Process Name]. Currently, only some of the rules are mapped with processes.
When I am designing a query with the following fields, [RuleName] and [ProcessName], it is only returning results where there is a mapping between the two tables.
What I also want is to see all the records for RuleName where the ProcessName is missing.
How do I design the query so that I can see all records where [ProcessName] is mapped to a [RuleName] and also where it is not ?
Kindly advise.
Many thanks.
I have two tables, [Rules] and [Process] which are in a many to many relationship via a junction table[JRule_Process]. It has the following field (relevant ones for this discussion):
[Rules]
RuleID
RuleName
[Process]
ProcessID
ProcessName
[JRule_Process]
JunctionID
RuleID
ProcessID
I have almost 5000 unique [RuleName] and around 100 [Process Name]. Currently, only some of the rules are mapped with processes.
When I am designing a query with the following fields, [RuleName] and [ProcessName], it is only returning results where there is a mapping between the two tables.
What I also want is to see all the records for RuleName where the ProcessName is missing.
How do I design the query so that I can see all records where [ProcessName] is mapped to a [RuleName] and also where it is not ?
Kindly advise.
Many thanks.
Comment