Hi,
I have a table structured (simplified for example) like this:
id: Name : Trainer_id
1:John Doe:
2:Jane Doe:
3:Linus T:
4:Charlie B:1
5:Lucy L:1
6:Bob R:3
7:Jimmy B:
8:Suzie Q:1
I want to create a Query that will output the following:
Salesperson ID : Name : # of Trainees
1 : John Doe : 3
2 : Jane Doe : 0
3 : Linus T : 1
4 : Charlie B : 0
etc.
I'm not sure of the best way to do this.
Thanks.
Jer
I have a table structured (simplified for example) like this:
id: Name : Trainer_id
1:John Doe:
2:Jane Doe:
3:Linus T:
4:Charlie B:1
5:Lucy L:1
6:Bob R:3
7:Jimmy B:
8:Suzie Q:1
I want to create a Query that will output the following:
Salesperson ID : Name : # of Trainees
1 : John Doe : 3
2 : Jane Doe : 0
3 : Linus T : 1
4 : Charlie B : 0
etc.
I'm not sure of the best way to do this.
Thanks.
Jer