I am sure this has been awnsered several times here but I am trying to get some quick help on something that should not be taking me this long. Ok then, I have worked with Oracle and was use to outer joins. I am trying to join two tables to create a query for a form.
One table is the table with all the information on how we will allocate funds for our investors. This will have information of the company the product come from (Company), the risk level that it is reporting on (risk), (product), and percent of allocation. This is the allocation table.
The other table is what the investor is currently in. In this we have investor, invester number(invno), account number of product where each product number is unique for each investor and each product he has acctno, product, amount, and risk.
I am trying to get it so that I can get the product, with a spacific company and risk level of allocation and the allocations from the first table and then each client for all the products even if the product is not in the second table for them and want it to come up showing that they have a null if they do not have the product. So that I can match up what they have in product and amount owned and besides it the allocation requirements.
I have been trying left joins on both the product and risk group but neither leaves a null on account number or amount. I know that given products are not on the second table for an investor in a given risk group but it needs to show up so that we can allocate their accounts correctly.
Thanks
Tim
One table is the table with all the information on how we will allocate funds for our investors. This will have information of the company the product come from (Company), the risk level that it is reporting on (risk), (product), and percent of allocation. This is the allocation table.
The other table is what the investor is currently in. In this we have investor, invester number(invno), account number of product where each product number is unique for each investor and each product he has acctno, product, amount, and risk.
I am trying to get it so that I can get the product, with a spacific company and risk level of allocation and the allocations from the first table and then each client for all the products even if the product is not in the second table for them and want it to come up showing that they have a null if they do not have the product. So that I can match up what they have in product and amount owned and besides it the allocation requirements.
I have been trying left joins on both the product and risk group but neither leaves a null on account number or amount. I know that given products are not on the second table for an investor in a given risk group but it needs to show up so that we can allocate their accounts correctly.
Thanks
Tim