this code works for me
and this one also:
what i need is to combine the two but i can't find the correct way to do complex joins
i basically need something like
but i couldn't find the correct way to do this (using brackets)
can anyone help?
i am so very desperate and working against the clock
thanks
Code:
SELECT Products.*, Companies.Company_Name FROM Companies INNER JOIN Products ON Products.product_com_code=Companies.Company_Code;
and this one also:
Code:
SELECT Products.*, Types.Type_Name FROM Types INNER JOIN Products ON Products.product_type_code=Types.Type_Code
what i need is to combine the two but i can't find the correct way to do complex joins
i basically need something like
Code:
SELECT Products.*, Types.Type_Name FROM Types INNER JOIN Products ON Products.product_type_code=Types.Type_Code, Companies.Company_Name FROM Companies INNER JOIN Products ON Products.product_com_code=Companies.Company_Code;
but i couldn't find the correct way to do this (using brackets)
can anyone help?
i am so very desperate and working against the clock
thanks