I tried to search tek-tips for 'one-to-many' queries but couldn't find anything. I hope this isn't a really stupid question. I just can't figure it out
I'm trying to match the numbers of consultants per service date with a table that has the service date's code as primary key. There can be more than one consultant used for each service date. I need to know if it is possible to create a query where I match the service date codes as one to many and result showing all consultants for the record in just one output record.
I hope that makes sense . . . Here is what I have:
Service Code Consultant
123 AA
123 AB
124 AA
125 AB
I would like
Service Code Consultant1 Consultant2
123 AA AB
Thanks!
I'm trying to match the numbers of consultants per service date with a table that has the service date's code as primary key. There can be more than one consultant used for each service date. I need to know if it is possible to create a query where I match the service date codes as one to many and result showing all consultants for the record in just one output record.
I hope that makes sense . . . Here is what I have:
Service Code Consultant
123 AA
123 AB
124 AA
125 AB
I would like
Service Code Consultant1 Consultant2
123 AA AB
Thanks!