Hi,
I have two tables that look like this:
Transactions
-------------
TransID
ClientID
SalesID
FundID
Funds
-------------
FundID
FundName
a Client has many transactions in many Funds. Each transaction has a SalesID. I want to select distinctly what Funds (FundID) a Sales persons (SalesID) Client (ClientID) has.
Ex:
SalesID 1 has 2 clients:
Client1 has 6 transactions, 3 in FundID 1 and 3 in FundID 2.
Client 2 has 3 transactions, all in FundID3.
I want to query what funds SalesID1's Client1 has. That would then return:
FundID 1
FundID 2
Any help would be greatly appreciated!
I have two tables that look like this:
Transactions
-------------
TransID
ClientID
SalesID
FundID
Funds
-------------
FundID
FundName
a Client has many transactions in many Funds. Each transaction has a SalesID. I want to select distinctly what Funds (FundID) a Sales persons (SalesID) Client (ClientID) has.
Ex:
SalesID 1 has 2 clients:
Client1 has 6 transactions, 3 in FundID 1 and 3 in FundID 2.
Client 2 has 3 transactions, all in FundID3.
I want to query what funds SalesID1's Client1 has. That would then return:
FundID 1
FundID 2
Any help would be greatly appreciated!