I need to record 'interactions' between delegates and providers.
There will be multiple delegates, and potentially multiple providers (and provider staff).
I need to be able to report on all the delegates that attended a given interaction and the providers that were involved.
The issue I have come across is... If I have a table for the interaction, a table for the delegates and a table for the suppliers, I will get duplicate rows for each of the delegates for each of the providers that are returned by the query...
It seems I will get something like this as a result:
Interaction / Delegate / Provider
Event1 / Mr A / Provider A
Event1 / Mr A / Provider B
Event1 / Mr B / Provider A
Event1 / Mr B / Provider B
When what I am after is something more like this:
Interaction / Delegate / Provider
Event1 / Mr A / Provider A, Provider B
Event1 / Mr B / Provider A, Provider B
What is the best way to normalise the structure / get these kinds of results?
Any help, most appreciated!
There will be multiple delegates, and potentially multiple providers (and provider staff).
I need to be able to report on all the delegates that attended a given interaction and the providers that were involved.
The issue I have come across is... If I have a table for the interaction, a table for the delegates and a table for the suppliers, I will get duplicate rows for each of the delegates for each of the providers that are returned by the query...
It seems I will get something like this as a result:
Interaction / Delegate / Provider
Event1 / Mr A / Provider A
Event1 / Mr A / Provider B
Event1 / Mr B / Provider A
Event1 / Mr B / Provider B
When what I am after is something more like this:
Interaction / Delegate / Provider
Event1 / Mr A / Provider A, Provider B
Event1 / Mr B / Provider A, Provider B
What is the best way to normalise the structure / get these kinds of results?
Any help, most appreciated!