Hi,
I had the following query to join on 2 tables kwhich worked perfectly fine.
Now I want to Join another table Product with supplier in the above query.
Everytime a product is sold I insert the Supplier ID in the product table and the rest of the information in the product table is not in the supplier table.
I changed the above query to the following:
The problem is that the above query will only show the data for the ID that is in supplier table and Product table.
How do i change the above query to show me data in supplier table even if the ID does not exist in the product table.
ANY help is appreciated.
Thanks.
I had the following query to join on 2 tables kwhich worked perfectly fine.
Code:
SELECT Customer.Customer.FName, Supplier.*
FROM Customer INNER JOIN Supplier ON Customer.ID = Supplier.ID
WHERE Supplier.process=True AND Supplier.processDate Is Not Null
Now I want to Join another table Product with supplier in the above query.
Everytime a product is sold I insert the Supplier ID in the product table and the rest of the information in the product table is not in the supplier table.
I changed the above query to the following:
Code:
SELECT Customer.Customer.FName, Product.ProductDateSold, Supplier.*
FROM Customer INNER JOIN Supplier ON Customer.ID = Supplier.ID
JOIN Product ON Supplier.ID = Product.ID
WHERE Supplier.process=True AND Supplier.processDate Is Not Null
How do i change the above query to show me data in supplier table even if the ID does not exist in the product table.
ANY help is appreciated.
Thanks.