I have a database with 2 tables. One table contains a list of team leaders. The second table contains a list of workers. The workers table is as follows:
Table: Workers
Id Name Surname Group
1 John Joseph A
2 Joe Johnson B
3 Arthur Edgar B
Table: TeamLeaders
Id Name Surname Group
1 Edward Fox A
2 John Grant B
3 Ethan Carter A
The team leader is similar and the two tables are linked by the Group. Some groups have more than 1 team leader.
I want to run a query which will give me the worker along with all the team leaders as below:
John Joseph A Edward Fox Ethan Carter
Joe Johnson B John Grant
Would it make it easier if I broke my Workers into Groups?
Thank you,
Irvy