I have two tables that have columns as follows:
Table A has columns: UserID, Proxy ID
And the data in Table A looks like:
UserID Proxy ID
1 4
2 4
3 4
The data means that 4 is the proxy for userIDs 1, 2 and 3
The second table is Table B which has columns: UserId and User Name
And the data in Table B looks like:
User ID User Name
1 AB
2 CD
3 EF
4 FG
I am trying to join these two tables to get data like:
User Proxy
AB FG
CD FG
EF FG
I tried various queries but I seem to be getting only half the information that I want.
Thanks.
Table A has columns: UserID, Proxy ID
And the data in Table A looks like:
UserID Proxy ID
1 4
2 4
3 4
The data means that 4 is the proxy for userIDs 1, 2 and 3
The second table is Table B which has columns: UserId and User Name
And the data in Table B looks like:
User ID User Name
1 AB
2 CD
3 EF
4 FG
I am trying to join these two tables to get data like:
User Proxy
AB FG
CD FG
EF FG
I tried various queries but I seem to be getting only half the information that I want.
Thanks.